We use -DG_DISABLE_ASSERT for the pre-releases, which makes these
warnings pop up in cases that were previously covered by g_assert_not_reached()
and the like:
tvtime/greedyh.c:801:14: warning: 'scanline' may be used uninitialized in this function
matroska-mux.c:501:19: warning: 'context' may be used uninitialized in this function
break;
default:
g_assert_not_reached ();
- break;
+ return;
}
// copy first even line no matter what, and the first odd line if we're
break;
default:
g_assert_not_reached ();
- break;
+ return;
}
context->type = type;