aboutsummaryrefslogtreecommitdiff
path: root/src/cadet
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-09-05 13:14:19 +0000
committerBart Polot <bart@net.in.tum.de>2014-09-05 13:14:19 +0000
commitcb86a77ce70b782d0a133c8057917c480889a135 (patch)
tree26f9dc0d225572aa73cc4ab07d6d73f6f72e2bd5 /src/cadet
parenta25c73343c817385ed151f911b70dbb82361d8d3 (diff)
downloadgnunet-cb86a77ce70b782d0a133c8057917c480889a135.tar.gz
gnunet-cb86a77ce70b782d0a133c8057917c480889a135.zip
- remove dead code, coverity #13008
Diffstat (limited to 'src/cadet')
-rw-r--r--src/cadet/cadet_api.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c
index c65475b10..a567a24b9 100644
--- a/src/cadet/cadet_api.c
+++ b/src/cadet/cadet_api.c
@@ -871,12 +871,6 @@ process_incoming_data (struct GNUNET_CADET_Handle *h,
871 size = ntohs (message->size); 871 size = ntohs (message->size);
872 LOG (GNUNET_ERROR_TYPE_DEBUG, " %u bytes\n", size); 872 LOG (GNUNET_ERROR_TYPE_DEBUG, " %u bytes\n", size);
873 873
874 if (NULL == ch)
875 {
876 /* Channel was ignored/destroyed, probably service didn't get it yet */
877 LOG (GNUNET_ERROR_TYPE_DEBUG, " ignored!\n");
878 return;
879 }
880 type = ntohs (payload->type); 874 type = ntohs (payload->type);
881 size = ntohs (payload->size); 875 size = ntohs (payload->size);
882 LOG (GNUNET_ERROR_TYPE_DEBUG, " payload type %s\n", GC_m2s (type)); 876 LOG (GNUNET_ERROR_TYPE_DEBUG, " payload type %s\n", GC_m2s (type));