Both allocate_value and value_of_variable are guaranteed to return non-NULL.
gdb/ChangeLog:
	* valops.c (value_maybe_namespace_elt): Remove unnecessary test of
	result != NULL.
+2014-12-12  Doug Evans  <xdje42@gmail.com>
+
+       * valops.c (value_maybe_namespace_elt): Remove unnecessary test of
+       result != NULL.
+
 2014-12-12  Doug Evans  <xdje42@gmail.com>
 
        * cp-support.h (cp_is_in_anonymous): Renamed from cp_is_anonymous.
 
   else
     result = value_of_variable (sym, get_selected_block (0));
 
-  if (result && want_address)
+  if (want_address)
     result = value_addr (result);
 
   return result;