summaryrefslogtreecommitdiff
path: root/popt.c
diff options
context:
space:
mode:
Diffstat (limited to 'popt.c')
-rw-r--r--popt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/popt.c b/popt.c
index 5dc6812..f09c140 100644
--- a/popt.c
+++ b/popt.c
@@ -759,6 +759,7 @@ assert(t); /* XXX can't happen */
tn += strlen(a);
{ size_t pos = (size_t) (te - t);
+ /* cppcheck-suppress memleakOnRealloc */
t = (char*) xrealloc(t, tn);
assert(t); /* XXX can't happen */
if (t == NULL)
@@ -1040,6 +1041,7 @@ const char * s;
int i;
const char ** av = NULL;
int ac = 0;
+/* cppcheck-suppress unreadVariable */
int xx;
stk[ix++] = arg0;