<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>hardinfo2/LICENSE</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -25,6 +25,7 @@ scan_samba_shared_directories(void)
     gchar **groups;
     gchar *smbconf;
     gsize length;
+    gint i = 0;
 
     if (smb_shares_list) {
         g_free(smb_shares_list);
@@ -51,16 +52,15 @@ scan_samba_shared_directories(void)
     smb_shares_list = g_strdup(&quot;&quot;);
 
     groups = g_key_file_get_groups(keyfile, NULL);
-    gchar **_groups = groups;
-    while (*groups) {
-        if (g_key_file_has_key(keyfile, *groups, &quot;path&quot;, NULL) &amp;&amp;
-            g_key_file_has_key(keyfile, *groups, &quot;available&quot;, NULL)) {
+    while (groups[i]) {
+        if (g_key_file_has_key(keyfile, groups[i], &quot;path&quot;, NULL) &amp;&amp;
+            g_key_file_has_key(keyfile, groups[i], &quot;available&quot;, NULL)) {
             
-            gchar *available = g_key_file_get_string(keyfile, *groups, &quot;available&quot;, NULL);
+            gchar *available = g_key_file_get_string(keyfile, groups[i], &quot;available&quot;, NULL);
         
             if (g_str_equal(available, &quot;yes&quot;)) {
-                gchar *path = g_key_file_get_string(keyfile, *groups, &quot;path&quot;, NULL);
-                smb_shares_list = g_strconcat(smb_shares_list, *groups, &quot;=&quot;,
+                gchar *path = g_key_file_get_string(keyfile, groups[i], &quot;path&quot;, NULL);
+                smb_shares_list = g_strconcat(smb_shares_list, groups[i], &quot;=&quot;,
                                           path, &quot;\n&quot;, NULL);
                 g_free(path);
             }
@@ -68,10 +68,10 @@ scan_samba_shared_directories(void)
             g_free(available);
         }
         
-        *groups++;
+        i++;
     }
     
-    g_strfreev(_groups);
+    g_strfreev(groups);
   
   cleanup:
     g_key_file_free(keyfile);</diff>
      <filename>hardinfo2/arch/linux/common/samba.h</filename>
    </modified>
    <modified>
      <diff>@@ -235,22 +235,22 @@ processor_get_capabilities_from_flags(gchar * strflags)
     /* FIXME: * Separate between processor capabilities, additional instructions and whatnot.  */
     gchar **flags, **old;
     gchar *tmp = &quot;&quot;;
-    gint i;
+    gint i, j = 0;
 
     flags = g_strsplit(strflags, &quot; &quot;, 0);
     old = flags;
 
-    while (*flags) {
+    while (flags[j]) {
 	gchar *meaning = &quot;&quot;;
 	for (i = 0; flag_meaning[i].name != NULL; i++) {
-	    if (!strcmp(*flags, flag_meaning[i].name)) {
+	    if (!strcmp(flags[j], flag_meaning[i].name)) {
 		meaning = flag_meaning[i].meaning;
 		break;
 	    }
 	}
 
-	tmp = g_strdup_printf(&quot;%s%s=%s\n&quot;, tmp, *flags, meaning);
-	*flags++;
+	tmp = g_strdup_printf(&quot;%s%s=%s\n&quot;, tmp, flags[j], meaning);
+	j++;
     }
 
     g_strfreev(old);</diff>
      <filename>hardinfo2/arch/linux/x86/processor.h</filename>
    </modified>
    <modified>
      <diff>@@ -32,7 +32,7 @@ main(int argc, char **argv)
     gtk_init(&amp;argc, &amp;argv);
     
     if (!gbr_init(&amp;error)) {
-      g_error(&quot;BinReloc cannot be initialized: %s&quot;, error-&gt;message);      
+        g_error(&quot;BinReloc cannot be initialized: %s&quot;, error-&gt;message);      
     }
     
     icon_cache_init();</diff>
      <filename>hardinfo2/hardinfo.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b4fbe4dab0f2f7ffdd39ca9caafbd9de8c5a342a</id>
    </parent>
  </parents>
  <author>
    <name>Leandro A. F. Pereira</name>
    <email>leandro@hardinfo.org</email>
  </author>
  <url>http://github.com/lpereira/hardinfo/commit/9f4da1891acbb7ae581285a9cd55171b10459de1</url>
  <id>9f4da1891acbb7ae581285a9cd55171b10459de1</id>
  <committed-date>2006-06-16T07:09:52-07:00</committed-date>
  <authored-date>2006-06-16T07:09:52-07:00</authored-date>
  <message>Fix compilation warnings, include license file</message>
  <tree>42dc61d988e97480d630c08663b56aec25bf2208</tree>
  <committer>
    <name>Leandro A. F. Pereira</name>
    <email>leandro@hardinfo.org</email>
  </committer>
</commit>
