Fix Portland compiler warnings
[alexxy/gromacs.git] / src / gromacs / selection / scanner_internal.cpp
index 0f0457121a697243d84dfcba1205ca9d79b8fd8e..fc5ce923133c7a0f64684a86b6eb098ed41dcb4d 100644 (file)
@@ -324,8 +324,7 @@ _gmx_sel_lexer_process_identifier(YYSTYPE *yylval, char *yytext, size_t yyleng,
                 GMX_THROW(gmx::InternalError("Unsupported variable type"));
                 return INVALID;
         }
-        delete yylval->sel;
-        return INVALID; /* Should not be reached. */
+        /* This position should not be reached. */
     }
     /* For method symbols, return the correct type */
     if (symtype == gmx::SelectionParserSymbol::MethodSymbol)