Remove unneeded code with notnull.cocci script

This continues previous commit with more complex places, where it required
more than just removing some "ifs".



SVN revision: 50242
This commit is contained in:
Lucas De Marchi 2010-07-14 02:20:30 +00:00
parent 6325ab86a3
commit e87ed1007b
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ targets_converter(char *target, void *data, int size,
if (sel->format & atoms[i].formats)
aret[count ++] = atoms[i].atom;
if (data_ret) *data_ret = aret;
*data_ret = aret;
if (typesize) *typesize = 32 /* urk */;
if (ttype) *ttype = XA_ATOM;
if (size_ret) *size_ret = count;