diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2014-05-16 09:56:12 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2014-05-27 21:54:44 +0100 |
commit | eae25a4c4d3f4924302ed0fb5eb8bd36354bc7ab (patch) | |
tree | b9e7e9651f1865c6d3d44b14be98f9be63f5c0b8 | |
parent | 1ec045434e3c0e73d6660ded14374870f20d3e92 (diff) | |
download | libgdata-eae25a4c4d3f4924302ed0fb5eb8bd36354bc7ab.tar.gz |
tests: Tidy up cases in a switch statement
Coverity issue: #59767
-rw-r--r-- | gdata/tests/streams.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdata/tests/streams.c b/gdata/tests/streams.c index 7b4fe5f6..92554d43 100644 --- a/gdata/tests/streams.c +++ b/gdata/tests/streams.c @@ -725,8 +725,6 @@ test_upload_stream_resumable_server_handler_cb (SoupServer *server, SoupMessage /* Send a response. */ switch (test_params->error_type) { - case ERROR_ON_INITIAL_REQUEST: - g_assert_not_reached (); case ERROR_ON_SUBSEQUENT_REQUEST: case ERROR_ON_FINAL_REQUEST: /* Skip the error if this isn't the final request. */ @@ -745,6 +743,7 @@ test_upload_stream_resumable_server_handler_cb (SoupServer *server, SoupMessage } break; + case ERROR_ON_INITIAL_REQUEST: default: g_assert_not_reached (); } |