#9883: [Cortex] MediaFormatIO.cpp: Forming reference to null pointer -----------------------------------+---------------------------- Reporter: mt | Owner: Type: bug | Status: new Priority: normal | Milestone: R1 Component: Applications/Cortex | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 1 | Platform: All -----------------------------------+---------------------------- Comment (by korli): Using an else block would fit better: {{{ if (error_condition) { report_error(); } else { output = ... } }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/9883#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.