Always return a value from ast_type_specifier::hir
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 21 Apr 2010 21:33:34 +0000 (14:33 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 29 Apr 2010 01:22:54 +0000 (18:22 -0700)
ast_to_hir.cpp

index 9b39d1f..704f274 100644 (file)
@@ -2269,6 +2269,8 @@ ast_type_specifier::hir(exec_list *instructions,
 {
    if (this->structure != NULL)
       return this->structure->hir(instructions, state);
+
+   return NULL;
 }