[pacman-dev] [PATCH 2/2] remove dead assignment, spotted by clang

Serge Ziryukin ftrvxmtrx at gmail.com
Sun Apr 25 18:48:04 CEST 2010


Signed-off-by: Serge Ziryukin <ftrvxmtrx at gmail.com>
---
 src/pacman/util.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/pacman/util.c b/src/pacman/util.c
index 5099237..c37c8b0 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -648,7 +648,6 @@ void print_packages(const alpm_list_t *packages)
 			string = strreplace(temp, "%s", size);
 			free(size);
 			free(temp);
-			temp = string;
 		}
 		printf("%s\n",string);
 		free(string);
-- 
1.7.0.6



More information about the pacman-dev mailing list