summaryrefslogtreecommitdiff
path: root/include/xalloc.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-09-21 16:16:22 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-10-05 13:40:37 +0200
commit40dd609f93a65c381370384dfa0ee9f5ed0b9680 (patch)
tree80511e830101323ef04007ab1fc28ebd917fdb97 /include/xalloc.h
parent94f6573e395674c5b7b7479f6869f73627152e7d (diff)
misc-utils: initialize "ip" in docfdisk to NULL
Technically it is initializied in the for loop right before being used. From the conditional above, we know that the for loop is executed at least once and the variable is always initialized, but gcc doesn't appear to perform the same reasoning. This patch adds an initialization of the variable for the sake of making the compiler happy. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/xalloc.h')
0 files changed, 0 insertions, 0 deletions