Branch: Tag:

2018-11-28

2018-11-28 19:36:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Make Coverity happy.

Coverity doesn't like ending a do-while(0) loop with continue.

Fixes [CID 1441424].

5215:    struct inherit *src_inh = p->inherits;    struct inherit *dst_inh =    Pike_compiler->new_program->inherits + inherit_offset; -  if (!src_inh->annotations) continue; +  if (!src_inh->annotations) break;       dst_inh->annotations = copy_array(src_inh->annotations);    } while(0);