diff options
author | Rob Landley <rob@landley.net> | 2018-09-08 15:42:02 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-09-08 15:42:50 -0500 |
commit | 288321ac86375450f5f57990201a56c385936323 (patch) | |
tree | 4becf32d768faee3e45f235aeef3d8955ef442ad /lib/lsm.h | |
parent | ef3044114acac33c8231ace80766ec6d9133150a (diff) | |
download | toybox-288321ac86375450f5f57990201a56c385936323.tar.gz |
Tweaks to make building with Android NDK's llvm happier.
Diffstat (limited to 'lib/lsm.h')
-rw-r--r-- | lib/lsm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ static inline char *lsm_name(void) static inline char *lsm_context(void) { int ok = 0; - char *result; + char *result = 0; if (CFG_TOYBOX_SMACK) ok = smack_new_label_from_self(&result) > 0; else ok = getcon(&result) == 0; |