diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2014-11-01 14:27:59 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2014-11-09 22:45:09 +0000 |
commit | f8c2549e1441f55b5e1b62e88ca99151854f27de (patch) | |
tree | 4a5d61b94264b22134c8602b76b1e88650cc3758 | |
parent | ee7a3370b41e83c52415c19f45897be1478ad8f6 (diff) | |
download | libgdata-f8c2549e1441f55b5e1b62e88ca99151854f27de.tar.gz |
tests: Remove unnecessary non-NULL test
It was confusing Coverity.
Coverity issue: #74584
-rw-r--r-- | gdata/tests/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdata/tests/common.c b/gdata/tests/common.c index 1193a7ca..d73c61a9 100644 --- a/gdata/tests/common.c +++ b/gdata/tests/common.c @@ -895,7 +895,7 @@ gdata_test_debug_handler (const gchar *log_domain, GLogLevelFlags log_level, con output_log_message (message); /* Log to the trace file. */ - if (message != NULL && (*message == '<' || *message == '>' || *message == ' ') && *(message + 1) == ' ') { + if ((*message == '<' || *message == '>' || *message == ' ') && *(message + 1) == ' ') { uhm_server_received_message_chunk (mock_server, message, strlen (message), NULL); } } |