GNOME Bugzilla – Bug 752551
questionable code in meta-monitor-config.c
Last modified: 2015-07-20 21:41:42 UTC
coverity pointed me at the following snipplet around line 460 in meta-monitor-cnfig.c: if (parser->output.rect.width == 0 && parser->output.rect.width == 0) parser->output.enabled = FALSE; else parser->output.enabled = TRUE; Thats surely not what was intended here. Maybe this was supposed to be width == 0 && height == 0 or width == 0 || height == 0 ?
Looking at the code seems to be like the latter while in practice either should work (i.e can't see how we can get width == 0 && height != width).