uninitialized var warning

Bug #779547 reported by Olaf van der Spek
This bug report is a duplicate of:  Bug #721690: Fix build warnings in xtrabackup.cc. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Triaged
Low
Unassigned

Bug Description

xtrabackup.cc: 3841:22: error: ‘max_lsn’ may be used uninitialized in this function [-Werror=uninitialized]

Stewart Smith (stewart)
Changed in percona-xtrabackup:
importance: Undecided → Low
Revision history for this message
Valentine Gostev (longbow) wrote :

Olaf,

could you please specify compiler version? OS? steps you've done prior building xtrabackup?

Changed in percona-xtrabackup:
status: New → Incomplete
Revision history for this message
Olaf van der Spek (olafvdspek) wrote :

GCC 4.1, Debian testing.

Revision history for this message
Olaf van der Spek (olafvdspek) wrote :

Sorry, I meant GCC 4.6

Revision history for this message
Alexey Kopytov (akopytov) wrote :

It's a spurious warning, max_lsn cannot in fact be uses uninitialized in that code. But we should silence it, to be able to build with -Werror eventually.

Changed in percona-xtrabackup:
status: Incomplete → Confirmed
Stewart Smith (stewart)
Changed in percona-xtrabackup:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.