void value should be ignored

Original commit message from CVS:
void value should be ignored
This commit is contained in:
Thomas Vander Stichele 2001-11-28 09:40:33 +00:00
parent 1a2d1c4195
commit ef4e4972d3
2 changed files with 2 additions and 2 deletions

View file

@ -139,7 +139,7 @@ perform_check (void)
g_print ("%d%d%d -> %d%d%d ..", (i&4)>>2, (i&2)>>1, i&1, (j&4)>>2, (j&2)>>1, j&1); g_print ("%d%d%d -> %d%d%d ..", (i&4)>>2, (i&2)>>1, i&1, (j&4)>>2, (j&2)>>1, j&1);
result = gst_pad_connect (srctest, sinktest); /*result = thomasvs: void value should be ignored */gst_pad_connect (srctest, sinktest);
g_print (".. %s\n", (result? "ok":"fail")); g_print (".. %s\n", (result? "ok":"fail"));
if (result) gst_pad_disconnect (srctest, sinktest); if (result) gst_pad_disconnect (srctest, sinktest);

View file

@ -139,7 +139,7 @@ perform_check (void)
g_print ("%d%d%d -> %d%d%d ..", (i&4)>>2, (i&2)>>1, i&1, (j&4)>>2, (j&2)>>1, j&1); g_print ("%d%d%d -> %d%d%d ..", (i&4)>>2, (i&2)>>1, i&1, (j&4)>>2, (j&2)>>1, j&1);
result = gst_pad_connect (srctest, sinktest); /*result = thomasvs: void value should be ignored */gst_pad_connect (srctest, sinktest);
g_print (".. %s\n", (result? "ok":"fail")); g_print (".. %s\n", (result? "ok":"fail"));
if (result) gst_pad_disconnect (srctest, sinktest); if (result) gst_pad_disconnect (srctest, sinktest);