Browse code

Removing check for negative values, because the variable in question is unsigned.

Micah Snyder authored on 2017/08/09 22:33:05
Showing 1 changed files
... ...
@@ -1213,9 +1213,6 @@ int cli_vm_execute(const struct cli_bc *bc, struct cli_bc_ctx *ctx, const struct
1213 1213
                 if (off < 0) {
1214 1214
                     cli_dbgmsg("bytecode warning: GEP with negative offset %d!\n", off);
1215 1215
                 }
1216
-                if (inst->u.three[0] < 0) {
1217
-                    cli_dbgmsg("bytecode warning: GEP with negative size %d!\n", inst->u.three[0]);
1218
-                }
1219 1216
 
1220 1217
                 if (!(inst->interp_op%5)) {
1221 1218
                     // how do negative offsets affect pointer intialization?