[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-changes
Subject:    [Perl/perl5] 377876: prevent a new build warning
From:       Tony Cook via perl5-changes <perl5-changes () perl ! org>
Date:       2022-08-31 1:51:13
Message-ID: Perl/perl5/push/refs/heads/blead/445772-377876 () github ! com
[Download RAW message or body]

  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 3778766ab96eb3392c2e7418760cbf4f7ad1b2c2
      https://github.com/Perl/perl5/commit/3778766ab96eb3392c2e7418760cbf4f7ad1b2c2
  Author: Tony Cook <tony@develop-help.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M dump.c

  Log Message:
  -----------
  prevent a new build warning

dump.c: In function ‘Perl_pv_escape':
dump.c:297:21: warning: ‘qe' may be used uninitialized in this function [-Wmaybe-uninitialized]
  297 |                     Perl_sv_catpvf( aTHX_ dsv,"%s...%s", qe, qs);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dump.c:297:21: warning: ‘qs' may be used uninitialized in this function [-Wmaybe-uninitialized]


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic