Delete argsize to fix a -Wunused-but-set-variable warning with gcc 4.9
The variable isn't actually checked -- just the end result which gets returned
from the function
MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division
Differential D5156
Delete argsize to fix a -Wunused-but-set-variable warning with gcc 4.9 ngie on Feb 1 2016, 7:21 AM. Authored by Tags None Referenced Files
Details Delete argsize to fix a -Wunused-but-set-variable warning with gcc 4.9 The variable isn't actually checked -- just the end result which gets returned MFC after: 1 month
Diff Detail
Event TimelineComment Actions Not sure about this change, because if asprintf() can't allocate sufficient memory it will return -1. Maybe a (void)asprintf(.....) could be better. I guess that int is there to silent the -1 return. |