diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-11-15 23:24:58 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-11-15 23:26:58 (GMT) |
commit | 9b7e4ffb6c5f7534e4ba11d5798b4eb74d4a2a70 (patch) | |
tree | cde604068dbe270c51a6790189c30594e0d78b70 /src/store.cpp | |
parent | e986e0039de21791bd1fbb1f59b13f58c4a46324 (diff) | |
download | Doxygen-9b7e4ffb6c5f7534e4ba11d5798b4eb74d4a2a70.zip Doxygen-9b7e4ffb6c5f7534e4ba11d5798b4eb74d4a2a70.tar.gz Doxygen-9b7e4ffb6c5f7534e4ba11d5798b4eb74d4a2a70.tar.bz2 |
Fixed several Coverity warnings
Diffstat (limited to 'src/store.cpp')
-rw-r--r-- | src/store.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store.cpp b/src/store.cpp index 8916015..8d9a0cd 100644 --- a/src/store.cpp +++ b/src/store.cpp @@ -382,9 +382,9 @@ int Store::read(char *buf,uint size) void Store::printFreeList() { printf("FreeList: "); - portable_off_t pos = m_head->pos; - while (pos) + while (m_head) { + portable_off_t pos = m_head->pos; printf("%x ",(int)pos); m_head = m_head->next; } |