summaryrefslogtreecommitdiff
path: root/src/bin/embryo
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 17:05:01 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 17:08:16 +0900
commit209962f7634881ba19b74eab0f6ee3dbe1986a5c (patch)
treeef65af28db961b282d7ad975b1aa5653a210f33b /src/bin/embryo
parent185d1f44cbc81ebb9a55c028e3ccec93a0ccfed0 (diff)
embryo_cc - remove useless check against always-there array
fix CID 1039345
Diffstat (limited to 'src/bin/embryo')
-rw-r--r--src/bin/embryo/embryo_cc_sc3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/embryo/embryo_cc_sc3.c b/src/bin/embryo/embryo_cc_sc3.c
index 310055c73e..d520cd414f 100644
--- a/src/bin/embryo/embryo_cc_sc3.c
+++ b/src/bin/embryo/embryo_cc_sc3.c
@@ -1099,8 +1099,7 @@ hier13(value * lval)
1099 } 1099 }
1100 else if (!array1 && array2) 1100 else if (!array1 && array2)
1101 { 1101 {
1102 char *ptr = 1102 char *ptr = lval2.sym->name;
1103 (lval2.sym->name) ? lval2.sym->name : "-unknown-";
1104 error(33, ptr); /* array must be indexed */ 1103 error(33, ptr); /* array must be indexed */
1105 } /* if */ 1104 } /* if */
1106 /* ??? if both are arrays, should check dimensions */ 1105 /* ??? if both are arrays, should check dimensions */