[llvm-commits] [llvm-gcc-4.0] r40523 - /llvm-gcc-4.0/trunk/gcc/gcc.c
Duncan Sands
baldrick at free.fr
Thu Jul 26 05:47:10 PDT 2007
Author: baldrick
Date: Thu Jul 26 07:47:10 2007
New Revision: 40523
URL: http://llvm.org/viewvc/llvm-project?rev=40523&view=rev
Log:
This variable could be used uninitialized.
Modified:
llvm-gcc-4.0/trunk/gcc/gcc.c
Modified: llvm-gcc-4.0/trunk/gcc/gcc.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/gcc/gcc.c?rev=40523&r1=40522&r2=40523&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/gcc/gcc.c (original)
+++ llvm-gcc-4.0/trunk/gcc/gcc.c Thu Jul 26 07:47:10 2007
@@ -6390,7 +6390,8 @@
main (int argc, const char **argv)
{
size_t i;
- int value;
+ /* APPLE LOCAL LLVM uninit warning */
+ int value = 0;
int linker_was_run = 0;
int lang_n_infiles = 0;
int num_linker_inputs = 0;
More information about the llvm-commits
mailing list