Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm/.git;a=commitdiff;h=c6112ed9458cc4d261f54718e55cee533d6ad94f
commit c6112ed9458cc4d261f54718e55cee533d6ad94f
Author: Christian Hamar alias krix <[EMAIL PROTECTED]>
Date: Mon Aug 6 19:03:00 2007 +0200
Fix 2 warnings
* Fixes newline (missed somehow in first commit)
* Replace for (temp; temp!=NULL; ...) with for (; temp!=NULL; ...)
diff --git a/src/gfpm-packagelist.c b/src/gfpm-packagelist.c
index 4990c1b..eca65f1 100644
--- a/src/gfpm-packagelist.c
+++ b/src/gfpm-packagelist.c
@@ -86,7 +86,7 @@ gfpm_package_list_del (GfpmListType type, const gchar *item)
else
temp = remove_list;
- for (temp; temp!=NULL; temp=temp->next)
+ for (; temp!=NULL; temp=temp->next)
{
if (strcmp (item, temp->data) == 0)
break;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git