summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d5c9e0)
raw | patch | inline | side by side (parent: 9d5c9e0)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 12 Mar 2016 21:50:09 +0000 (22:50 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 12 Mar 2016 21:50:09 +0000 (22:50 +0100) |
This code couldn't possibly have compiled.
Found by cppcheck:
[src/ipc.c:285]: (error) Invalid number of character '{' when these
macros are defined: 'KERNEL_AIX'.
Found by cppcheck:
[src/ipc.c:285]: (error) Invalid number of character '{' when these
macros are defined: 'KERNEL_AIX'.
src/ipc.c | patch | blob | history |
diff --git a/src/ipc.c b/src/ipc.c
index b4038472efb76e4ff48df62e95b91307a8ff2dfc..645d4b087e735ce06d8db51fd8fa731e6345bac4 100644 (file)
--- a/src/ipc.c
+++ b/src/ipc.c
msg_alloc_queues++;
msg_used_space += ipcinfo_msg[i].msg_cbytes;
msg_qnum += ipcinfo_msg[i].msg_qnum;
-
+ }
free(ipcinfo_msg);
ipc_submit_g("msg", "count", "queues", msg_alloc_queues);