[1832] 2008-08-28 Robert Millan <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1832
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1832
Author:   robertmh
Date:     2008-08-28 19:08:21 +0000 (Thu, 28 Aug 2008)

Log Message:
-----------
2008-08-28  Robert Millan  <[email protected]>

        * util/biosdisk.c (find_grub_drive): Declare missing `i' variable.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/biosdisk.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2008-08-28 14:36:18 UTC (rev 1831)
+++ trunk/grub2/ChangeLog	2008-08-28 19:08:21 UTC (rev 1832)
@@ -1,5 +1,9 @@
 2008-08-28  Robert Millan  <[email protected]>
 
+	* util/biosdisk.c (find_grub_drive): Declare missing `i' variable.
+
+2008-08-28  Robert Millan  <[email protected]>
+
 	Change find_grub_drive() syntax so it doesn't prevent it from
 	detecting NULL names as errors.
 

Modified: trunk/grub2/util/biosdisk.c
===================================================================
--- trunk/grub2/util/biosdisk.c	2008-08-28 14:36:18 UTC (rev 1831)
+++ trunk/grub2/util/biosdisk.c	2008-08-28 19:08:21 UTC (rev 1832)
@@ -127,6 +127,8 @@
 static int
 find_free_slot ()
 {
+  unsigned int i;
+
   for (i = 0; i < sizeof (map) / sizeof (map[0]); i++)
     if (! map[i].drive)
       return i;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.