mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-23 22:38:45 -04:00
initialize variable to NULL to be safe against uninitialized usage
This commit is contained in:
1 parent
dfa2dc6eab
commit
6e6535d568
1 file changed
+1
-1
@@ -1338,7 +1338,7 @@ static inline bool ep_compile_pass_shader(struct effect_parser *ep,
|
||||
struct dstr location;
|
||||
struct darray used_params; /* struct dstr */
|
||||
struct darray *pass_params; /* struct pass_shaderparam */
|
||||
shader_t shader;
|
||||
shader_t shader = NULL;
|
||||
bool success = true;
|
||||
|
||||
dstr_init(&shader_str);
|
||||
|
||||
Reference in new issue
Block a user