- int gotsomewhere, terrno, try, v_circuit, resplen, n;
+ int gotsomewhere, terrno, try, v_circuit, resplen;
+ /* On some architectures send_vc is inlined and the compiler might emit
+ a warning indicating 'resplen' may be used uninitialized. Note that
+ the warning belongs to resplen in send_vc which is used as return
+ value! There the maybe-uninitialized warning is already ignored as
+ it is a false-positive - see comment in send_vc.
+ Here the variable n is set to the return value of send_vc.
+ See below. */
+ DIAG_PUSH_NEEDS_COMMENT;
+ DIAG_IGNORE_NEEDS_COMMENT (9, "-Wmaybe-uninitialized");
+ int n;
+ DIAG_POP_NEEDS_COMMENT;