diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2013-12-17 09:21:39 +0000 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-12-18 17:49:36 -0500 |
commit | bb2763883620976b4ca64c9f4c1871c00d82b994 (patch) | |
tree | 6228bac82c9f670f1071f5fbb09271176b81a093 /examples/simple-example.c | |
parent | 332c9c5b329426f2d255e9eaf856aa79fe813a77 (diff) | |
download | libnice-bb2763883620976b4ca64c9f4c1871c00d82b994.tar.gz |
examples: Remove redundant non-NULL checks
The return value of g_strsplit() can never be NULL.
Diffstat (limited to 'examples/simple-example.c')
-rw-r--r-- | examples/simple-example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple-example.c b/examples/simple-example.c index e02654d..5cf5913 100644 --- a/examples/simple-example.c +++ b/examples/simple-example.c @@ -288,7 +288,7 @@ parse_candidate(char *scand, guint _stream_id) guint i; tokens = g_strsplit (scand, ",", 5); - for (i = 0; tokens && tokens[i]; i++); + for (i = 0; tokens[i]; i++); if (i != 5) goto end; |