summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-06 15:41:02 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-06 15:41:02 +0900
commit15e34ffe1593436b5b551a445c20a0a9208574af (patch)
tree39c4834f3d53c9a9d928a46c240c3dec0ca6b4cc /src/bin
parent31f351ae4e79d0cd848fc855cd975b48fe34880e (diff)
embryo_cc - fix coverity complaint about assert
fix assert using a strance assert syntax and go back to basic asserts. fix coverity CID 1361224 @fix
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/embryo/embryo_cc_sc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/embryo/embryo_cc_sc1.c b/src/bin/embryo/embryo_cc_sc1.c
index 2ca1aaf559..0d94b249a7 100644
--- a/src/bin/embryo/embryo_cc_sc1.c
+++ b/src/bin/embryo/embryo_cc_sc1.c
@@ -2098,7 +2098,7 @@ funcstub(int native)
2098 error(10); /* illegal function or declaration */ 2098 error(10); /* illegal function or declaration */
2099 return; 2099 return;
2100 } /* if */ 2100 } /* if */
2101 assert(("strcpy: source str size is more than available at destination", sizeof(str) <= sNAMEMAX)); 2101 assert(sizeof(str) <= sNAMEMAX);
2102 strcpy(symbolname, str); 2102 strcpy(symbolname, str);
2103 } /* if */ 2103 } /* if */
2104 needtoken('('); /* only functions may be native/forward */ 2104 needtoken('('); /* only functions may be native/forward */