adding return statement
diff --git a/c_gen/templates/of_type_maps.c b/c_gen/templates/of_type_maps.c
index 2d20438..ef3f82b 100644
--- a/c_gen/templates/of_type_maps.c
+++ b/c_gen/templates/of_type_maps.c
@@ -319,7 +319,7 @@
  * See extension_action above
  */
 
-static void
+static int
 extension_instruction_id_object_id_get(of_object_t *obj, of_object_id_t *id)
 {
     uint32_t exp_id;
@@ -347,7 +347,7 @@
     }
     }
 
-    //return OF_ERROR_NONE;
+    return OF_ERROR_NONE;
 }
 
 /**