Make some dwarf_expr_context methods pure virtual
[deliverable/binutils-gdb.git] / gdb / location.c
index 65116c732f7071444986c4b582580b7cc4622f0b..8dce21ada12b3f8cb4145d1af96e29efe378bda2 100644 (file)
@@ -524,7 +524,7 @@ string_to_explicit_location (const char **argp,
      character is an explicit location.  "-p" is reserved, though,
      for probe locations.  */
   if (argp == NULL
-      || *argp == '\0'
+      || *argp == NULL
       || *argp[0] != '-'
       || !isalpha ((*argp)[1])
       || ((*argp)[0] == '-' && (*argp)[1] == 'p'))
This page took 0.032806 seconds and 4 git commands to generate.