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 9b39d1f05b9a52433837ce7a603d8f216698da35..704f2745a74d0745114a786f8be0aa24cee438f9 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;
 }