On Fri, 20 Mar 2015 14:27:18 +0100 Emilio Pozuelo Monfort <[email protected]> wrote:
> On 20/03/15 13:40, Pekka Paalanen wrote: > > From: Pekka Paalanen <[email protected]> > > > > There were a few cases of 'goto out' in main() that did not set ret to > > EXIT_FAILURE. Shell failing to init is the one I hit when writing tests > > for ivi-shell. > > > > Rather than adding a few more 'ret = EXIT_FAILURE', make that the > > default and remove the redundant assignments. When Weston exits > > properly ec->exit_code will take care of the exit code. > > > > Signed-off-by: Pekka Paalanen <[email protected]> > > --- > > src/compositor.c | 17 ++++------------- > > 1 file changed, 4 insertions(+), 13 deletions(-) > > > > Reviewed-by: Emilio Pozuelo Monfort <[email protected]> > > Cheers, > Emilio Pushed 8fd4de4..111c6f9 master -> master Thanks, pq _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
