From f165730a2e75320cbc8be65f277a099887248789 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Jun 23 2015 15:37:29 +0000 Subject: Remove an unused variable --- diff --git a/src/mainloop.c b/src/mainloop.c index 53ceb47..118b724 100644 --- a/src/mainloop.c +++ b/src/mainloop.c @@ -1,5 +1,5 @@ /* - Copyright 2005,2006,2007 Red Hat, Inc. + Copyright 2005,2006,2007,2015 Red Hat, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -383,7 +383,7 @@ handle(fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *unused_tv) { struct watch_list *wl, *wlnext; struct timeout_list *tl, *tlnext; - struct pid_list *pl, *plnext, *pred; + struct pid_list *pl, *plnext; int fd; unsigned int i; DBusWatch *dwatch; @@ -482,7 +482,6 @@ handle(fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *unused_tv) } } pl = pid_list; - pred = NULL; while (pl != NULL) { int status; plnext = pl->next;