From 096c89a61366e6ad4f1a03833ab180272f2e9c4b Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Sun, 15 Apr 2007 17:28:23 +0000 Subject: [PATCH] Remove unused variable. Formatting. SVN revision: 29546 --- src/bin/e_eap_editor.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/bin/e_eap_editor.c b/src/bin/e_eap_editor.c index 889cbb603..c7806e177 100644 --- a/src/bin/e_eap_editor.c +++ b/src/bin/e_eap_editor.c @@ -97,13 +97,9 @@ e_desktop_border_create(E_Border *bd) * - Find the icon with the best size * - Should use mkstemp */ - const char *tmp; - snprintf(path, sizeof(path), "%s/%s-%.6f.png", icon_dir, bname, ecore_time_get()); if (e_util_icon_save(&(bd->client.netwm.icons[0]), path)) - { - desktop->icon = strdup(path); - } + desktop->icon = strdup(path); else fprintf(stderr, "Could not save file from ARGB: %s\n", path); }