enlightenment/src/modules/mixer
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
..
.cvsignore ignore 2008-08-13 18:50:50 +00:00
Makefile.am build infra improvements. 2008-12-08 01:39:33 +00:00
app_mixer.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
conf_gadget.c cleanups... 2010-03-10 21:54:23 +00:00
conf_module.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
e-module-mixer.edj * edje: fix count that lead to memleak. 2010-08-12 15:07:26 +00:00
e_mod_main.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
e_mod_main.h remove useless defines. 2009-05-13 01:27:20 +00:00
e_mod_system.h the mixer module was completly inconsistent formated! 2009-04-17 20:13:17 +00:00
module.desktop.in Use FDO-icon for mixer module and remove useless edje file. 2010-04-19 05:35:19 +00:00
sys_alsa.c Convert (hopefully) all comparisons to NULL 2010-08-21 13:52:25 +00:00
sys_dummy.c currently for e.g. ubuntu the mixer module won't work as it uses pulseaudio as mixer 2009-04-17 20:16:56 +00:00