simpler way to set an empty string.

SVN revision: 34018
This commit is contained in:
Sebastian Dransfeld 2008-03-13 19:10:27 +00:00
parent efe7b9aaae
commit 867f92477d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}