git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modules/E1000 - (minor) Worked around dumb gcc warning
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Network
/
E1000
/
e1000.c
diff --git
a/KernelLand/Modules/Network/E1000/e1000.c
b/KernelLand/Modules/Network/E1000/e1000.c
index
66c1c86
..
68c020d
100644
(file)
--- a/
KernelLand/Modules/Network/E1000/e1000.c
+++ b/
KernelLand/Modules/Network/E1000/e1000.c
@@
-383,7
+383,7
@@
int DrvUtil_AllocBuffers(void **Buffers, int NumBufs, int PhysBits, size_t BufSi
size_t ofs = 0;
const int bufs_per_page = PAGE_SIZE / BufSize;
ASSERT(bufs_per_page * BufSize == PAGE_SIZE);
- void *page;
+ void *page
= NULL
;
for( int i = 0; i < NumBufs; i ++ )
{
if( ofs == 0 ) {
UCC
git Repository :: git.ucc.asn.au