unused variable in rts/posix/OSMem.c getPageSize
bgamari pointed this out on IRC.
The static variable pageSize
is never set, so every getPageSize
call does a system call. There should be a line pageSize = ret;
before return ret;
.
Trac metadata
Trac field | Value |
---|---|
Version | 7.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | low |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |