Removed semicolon from macro
authorMiodrag Milanovic <mmicko@gmail.com>
Fri, 5 Nov 2021 08:57:37 +0000 (09:57 +0100)
committerMiodrag Milanovic <mmicko@gmail.com>
Fri, 5 Nov 2021 08:57:37 +0000 (09:57 +0100)
kernel/yosys.h

index 013c3308fd84c04c37933746beb1f553e2d8c9e8..7fe8dc4f463add78441cac69f7841d3cee5de89a 100644 (file)
@@ -148,7 +148,7 @@ extern Tcl_Obj *Tcl_ObjSetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, Tcl_Obj *p
 #endif
 
 #if __cplusplus >= 201703L
-#  define YS_MAYBE_UNUSED [[maybe_unused]];
+#  define YS_MAYBE_UNUSED [[maybe_unused]]
 #elif defined(__GNUC__) || defined(__clang__)
 #  define YS_MAYBE_UNUSED __attribute__((__unused__))
 #else