[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch to fix 1.6.0-pre2 compile warnings in disk_mips.c
From: |
Timshel Knoll |
Subject: |
Patch to fix 1.6.0-pre2 compile warnings in disk_mips.c |
Date: |
Fri, 1 Feb 2002 18:40:40 +1100 |
User-agent: |
Mutt/1.3.27i |
Hi Andrew,
I've fixed a couple of trivial compile warnings on disk_mips.c:
cc1: warnings being treated as errors
../../libparted/disk_mips.c: In function `_handle_no_volume_header':
../../libparted/disk_mips.c:170: warning: `ret' might be used uninitialized in
this function
../../libparted/disk_mips.c:171: warning: `part' might be used uninitialized in
this function
../../libparted/disk_mips.c:173: warning: `constraint_exact' might be used
uninitialized in this function
You might want to change the added 'default:', but the default case
should never really happen anyway ... it's just that the compiler
doesn't know that.
Cheers,
Timshel
--
Timshel Knoll <address@hidden> for Debian email: <address@hidden>
Debian GNU/Linux developer, see http://people.debian.org/~timshel/
For GnuPG public key: finger address@hidden
parted-1.6.0-pre2-compile-warnings-fix.diff
Description: Text document
pgpLJ1raZBLeo.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch to fix 1.6.0-pre2 compile warnings in disk_mips.c,
Timshel Knoll <=