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

index 1bf5c06..46719ea 100644 (file)
@@ -90,7 +90,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);