summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-04-21 14:33:34 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-04-28 18:22:54 -0700
commit85ba37b97df8edd18b757bc475b12b66f4b117ed (patch)
tree6e9cc49e2eeac29c7ee49c38aa922d6ff97c27e7
parent8bec5e92e09c56e893cea33a44b0fb5a2ba1b283 (diff)
Always return a value from ast_type_specifier::hir
-rw-r--r--ast_to_hir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ast_to_hir.cpp b/ast_to_hir.cpp
index 9b39d1f05b..704f2745a7 100644
--- a/ast_to_hir.cpp
+++ b/ast_to_hir.cpp
@@ -2269,6 +2269,8 @@ ast_type_specifier::hir(exec_list *instructions,
{
if (this->structure != NULL)
return this->structure->hir(instructions, state);
+
+ return NULL;
}