diff options
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp index 3281e9f56..6fd4d0d0b 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1386,6 +1386,7 @@ static void AddWindowToZOrdering(Window *w) /* Search down the z-ordering for its location. */ Window *v = _z_front_window; uint last_z_priority = UINT_MAX; + (void)last_z_priority; // Unused without asserts while (v != nullptr && (v->window_class == WC_INVALID || GetWindowZPriority(v->window_class) > GetWindowZPriority(w->window_class))) { if (v->window_class != WC_INVALID) { /* Sanity check z-ordering, while we're at it. */ |