From 867f92477daf02c45eae24fdcae25b5ee92af67f Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Thu, 13 Mar 2008 19:10:27 +0000 Subject: [PATCH] simpler way to set an empty string. SVN revision: 34018 --- src/bin/e_fm_hal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_fm_hal.c b/src/bin/e_fm_hal.c index b22ca5f34..a65904798 100644 --- a/src/bin/e_fm_hal.c +++ b/src/bin/e_fm_hal.c @@ -146,7 +146,7 @@ e_fm2_hal_volume_add(E_Volume *v) else if (ecore_file_is_dir("/tmp")) snprintf(buf, sizeof(buf), "/tmp/%s", id); else - snprintf(buf, sizeof(buf), ""); + buf[0] = 0; v->mount_point = strdup(buf); } }