summaryrefslogtreecommitdiff
path: root/pith/string.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2017-07-18 19:04:03 -0600
committerEduardo Chappa <chappa@washington.edu>2017-07-18 19:04:03 -0600
commitb136a847c4acd743b0026c7dfd2069196520a260 (patch)
tree03650586533a5561aaaf3d1f8f4edd1d51c37660 /pith/string.c
parentbc3f61e54599136fb264cf4074abb685b866eb85 (diff)
downloadalpine-b136a847c4acd743b0026c7dfd2069196520a260.tar.xz
* Fix a few compiler warnings.
Diffstat (limited to 'pith/string.c')
-rw-r--r--pith/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/string.c b/pith/string.c
index 59506670..533fe28a 100644
--- a/pith/string.c
+++ b/pith/string.c
@@ -1930,7 +1930,7 @@ get_pair(char *string, char **label, char **value, int firstws, int strip_intern
*p = '\0'; /* tie off label */
fs_give((void **)&tmp);
- if(*label == '\0')
+ if(*label == NULL)
fs_give((void **)label);
}
else