Branch: Tag:

2015-04-19

2015-04-19 06:23:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Coverity: Added some unreached breaks to make Coverity happy.

Fixes [CID 742617], [CID 1294625] and [CID 1294628].

2254:    Pike_error("Attempt to call the value %"PRINTPIKEINT"d\n",    s->u.integer);    } +  break;       case T_STRING:    if (s->u.string->len > 20) {
2261:    } else {    Pike_error("Attempt to call the string \"%S\"\n", s->u.string);    } +  break; +     case T_MAPPING:    Pike_error("Attempt to call a mapping\n"); -  +  break; +     default:    Pike_error("Call to non-function value type:%s.\n",    get_name_of_type(TYPEOF(*s))); -  +  break;       case T_FUNCTION:    if(SUBTYPEOF(*s) == FUNCTION_BUILTIN)