do not check retval when destroying context if error has occured before
authorMarcel Poul <marcel.poul@cern.ch>
Sun, 19 Feb 2012 01:54:15 +0000 (01:54 +0000)
committerMarcel Poul <marcel.poul@cern.ch>
Sun, 19 Feb 2012 01:54:15 +0000 (01:54 +0000)
emi.canl.canl-c/examples/canl_sample_server.c

index 1e3c5e5..04bbcf3 100644 (file)
@@ -178,7 +178,7 @@ int main(int argc, char *argv[])
 
 end:
     if (my_io_h)
-        err = canl_io_destroy(my_ctx, my_io_h);
+        canl_io_destroy(my_ctx, my_io_h);
 
     canl_free_ctx(my_ctx);