cleanup: explicitly mark unused parameters (-Wunused-parameter)
[urcu.git] / doc / examples / wfstack / cds_wfs_pop.c
index 4cdec0a3b36b15078a6993805347e60071c86c56..68b81b9bbdc4e98be213fae3c8422e8ae2c908a3 100644 (file)
@@ -27,7 +27,7 @@ struct mynode {
        struct cds_wfs_node node;       /* Chaining in stack */
 };
 
-int main(int argc, char **argv)
+int main(void)
 {
        int values[] = { -5, 42, 36, 24, };
        struct cds_wfs_stack mystack;   /* Stack */
@@ -71,5 +71,6 @@ int main(int argc, char **argv)
        }
        printf("\n");
 end:
+       cds_wfs_destroy(&mystack);
        return ret;
 }
This page took 0.022957 seconds and 4 git commands to generate.