summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:24:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:40 +0100
commitd24db9dfe6cf87aacc6d484c93cd44676d659030 (patch)
tree546bee93bc2a55b8a2b4d12135234689aec76dde /solenv
parentae7fa10e1ac79900e53302080ab39230c4f1d4a3 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I5dfb8238b1365502544f6a383313311a9afd0e80
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/concat-deps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 9be0f5dae65d..4e6b432982ec 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -773,7 +773,7 @@ static inline void print_fullpaths(char* line)
char* end;
int boost_count = 0;
int token_len;
- const char * unpacked_end = 0; /* end of UnpackedTarget match (if any) */
+ const char * unpacked_end = NULL; /* end of UnpackedTarget match (if any) */
/* for UnpackedTarget the target is GenC{,xx}Object, don't mangle! */
int target_seen = 0;
@@ -815,7 +815,7 @@ static inline void print_fullpaths(char* line)
{
emit_unpacked_target(token, unpacked_end);
}
- unpacked_end = 0;
+ unpacked_end = NULL;
}
}
else
@@ -1111,7 +1111,7 @@ off_t in_list_size = 0;
char* in_list;
char* in_list_cursor;
char* in_list_base;
-struct hash* dep_hash = 0;
+struct hash* dep_hash = NULL;
const char *env_str;
if(argc < 2)