diff options
| author | Ian Elliott <ian@LunarG.com> | 2015-02-19 15:49:03 -0700 |
|---|---|---|
| committer | Ian Elliott <ian@lunarg.com> | 2015-02-19 16:39:52 -0700 |
| commit | cf628ca862f13020c83998faacdfd454d90c49ef (patch) | |
| tree | 32c25c3fda9cba1bbf66f60531eeebc06a357759 /loader/loader.c | |
| parent | 7a77ad5a47b7ddc0a6c8ae7077d07c4bb313e99a (diff) | |
| download | usermoji-cf628ca862f13020c83998faacdfd454d90c49ef.tar.xz | |
loader: initialize result for xglCreateInstance().
Diffstat (limited to 'loader/loader.c')
| -rw-r--r-- | loader/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c index cbfd66e3..6d877951 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -936,7 +936,7 @@ LOADER_EXPORT XGL_RESULT XGLAPI xglCreateInstance( struct loader_instance *ptr_instance = NULL; struct loader_scanned_icds *scanned_icds; struct loader_icd *icd; - XGL_RESULT res; + XGL_RESULT res = XGL_ERROR_INITIALIZATION_FAILED; /* Scan/discover all ICD libraries in a single-threaded manner */ loader_platform_thread_once(&once_icd, loader_icd_scan); |
