diff options
Diffstat (limited to 'location/LocationAPI.cpp')
-rw-r--r-- | location/LocationAPI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/location/LocationAPI.cpp b/location/LocationAPI.cpp index 3086adc..60a46fe 100644 --- a/location/LocationAPI.cpp +++ b/location/LocationAPI.cpp @@ -82,7 +82,7 @@ static void* loadLocationInterface(const char* library, const char* name) { return NULL; } getLocationInterface* getter = NULL; - const char *error; + const char *error = NULL; dlerror(); void *handle = dlopen(library, RTLD_NOW); if (NULL == handle || (error = dlerror()) != NULL) { |