commit | b1ae15abf1d3a47b0e993d1a4daa228f73d12bb9 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu Jul 11 17:35:53 2013 -0700 |
committer | Nick Kralevich <nnk@google.com> | Thu Jul 11 17:35:53 2013 -0700 |
tree | c5ab4c77d17cd999dda78a903d447d8285ea05e1 | |
parent | 9ca4088ee4d8378e9f01df67a8df3f0cb5071bed [diff] [blame] |
Clean up code Clean up the code, so it compiles with -Wall -Wextra -Werror Change-Id: I78ad5941a45208e1a82181cedb5853753f58ff0d
diff --git a/src/android.c b/src/android.c index 3e88959..e74266f 100644 --- a/src/android.c +++ b/src/android.c
@@ -335,9 +335,7 @@ context_t ctx) { const char *username = NULL; - char *end = NULL; - struct passwd *pw; - struct seapp_context *cur; + struct seapp_context *cur = NULL; int i; size_t n; uid_t userid;