Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fun.git;a=commitdiff;h=5d0e1d0473a3112dbf68f459ee8026960e706fd1

commit 5d0e1d0473a3112dbf68f459ee8026960e706fd1
Author: Priyank <[email protected]>
Date:   Tue Mar 10 19:31:37 2009 +0530

Silenced compiler warnings

diff --git a/src/fun-news_backend.c b/src/fun-news_backend.c
index 8fc506b..1ada99b 100644
--- a/src/fun-news_backend.c
+++ b/src/fun-news_backend.c
@@ -135,8 +135,7 @@ fun_get_news_item_from_file (const char *file)
NewsItem *ni = NULL;
char line[PATH_MAX+1] = "";
GList *dsclist = NULL;
-       gboolean found = FALSE;
-
+
if (!(fp=fopen(file,"r")))
return NULL;
ni = (NewsItem*) malloc (sizeof(NewsItem));
diff --git a/src/fun-ui.c b/src/fun-ui.c
index 7b5068e..b3faec2 100644
--- a/src/fun-ui.c
+++ b/src/fun-ui.c
@@ -484,7 +484,6 @@ fun_main_window_init (void)
void*
fun_init_thread (void *ptr)
{
-       GError          *error = NULL;
gulong          seconds = 0;
gchar           *plist = NULL;
static gchar    *error_msg = ("Update checking has been disabled because FUN 
has detected "
diff --git a/src/fund.c b/src/fund.c
index 2c23430..e55df2b 100644
--- a/src/fund.c
+++ b/src/fund.c
@@ -25,6 +25,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <glib.h>
#include <dbus/dbus-glib-bindings.h>
#include <dirent.h>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to