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
Fixing bugs exposed by scan-build
[tpg/acess2.git]
/
Kernel
/
heap.c
diff --git
a/Kernel/heap.c
b/Kernel/heap.c
index
921cc6b
..
eefd13c
100644
(file)
--- a/
Kernel/heap.c
+++ b/
Kernel/heap.c
@@
-68,7
+68,7
@@
void *Heap_Extend(int Bytes)
// Bounds Check
if( (tVAddr)gHeapEnd + ((Bytes+0xFFF)&~0xFFF) > MM_KHEAP_MAX ) {
-
Bytes = MM_KHEAP_MAX - (tVAddr)gHeapEnd;
+
//
Bytes = MM_KHEAP_MAX - (tVAddr)gHeapEnd;
return NULL;
}
UCC
git Repository :: git.ucc.asn.au