virStorageBackendFileSystemMount: placate clang

* src/storage/storage_backend_fs.c (virStorageBackendFileSystemMount):
Clang was not smart enough, and mistakenly reported that "options"
could be used uninitialized.  Initialize it.
This commit is contained in:
Jim Meyering 2010-04-14 10:00:53 +02:00
parent 9ec1825982
commit 5cff81b147

View File

@ -287,7 +287,7 @@ virStorageBackendFileSystemIsMounted(virStoragePoolObjPtr pool) {
static int
virStorageBackendFileSystemMount(virStoragePoolObjPtr pool) {
char *src;
char *options;
char *options = NULL;
const char **mntargv;
/* 'mount -t auto' doesn't seem to auto determine nfs (or cifs),