summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-01 09:33:43 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-01 09:33:43 +0800
commitfee49238c386e89e2530da86e31ff582337025a7 (patch)
tree858dbee8151e7dd2fea4d7c468e9eb064c780de1 /indra/llwindow
parent7aa0299d38dd8fdef9d7e722e94db84c7b2fb5f4 (diff)
Initialise vars so they wouldn't be errors on GCC
Diffstat (limited to 'indra/llwindow')
-rw-r--r--indra/llwindow/llwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/llwindow.cpp b/indra/llwindow/llwindow.cpp
index c5725677b4..207c5cac9c 100644
--- a/indra/llwindow/llwindow.cpp
+++ b/indra/llwindow/llwindow.cpp
@@ -409,7 +409,7 @@ LLWindow* LLWindowManager::createWindow(
BOOL ignore_pixel_depth,
U32 fsaa_samples)
{
- LLWindow* new_window;
+ LLWindow* new_window = nullptr;
if (use_gl)
{