[PATCH v2 3/3] [libx11] Cannot reach dead statement return NULL;

2011-01-31 Thread Erkki Seppälä
Check for the NULLness of prop-name and prop-value instead of name and value, which was checked earlier anyway. Decided against using strdup due to curious memory allocation functions and the rest of the xkb not using it either. Signed-off-by: Erkki Seppälä erkki.sepp...@vincit.fi diff --git

Re: [PATCH v2 3/3] [libx11] Cannot reach dead statement return NULL;

2011-01-31 Thread Alan Coopersmith
On 01/31/11 02:03 AM, Erkki Seppälä wrote: Check for the NULLness of prop-name and prop-value instead of name and value, which was checked earlier anyway. Decided against using strdup due to curious memory allocation functions and the rest of the xkb not using it either. Signed-off-by: