mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01:00
Merge pull request #105 from acrisci/bug/uninitialized-int
fix uninitialized warning
This commit is contained in:
commit
995ebe3bb0
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ static void realloc_crtcs(struct wlr_drm_backend *backend,
|
|||
|
||||
memset(possible_crtc, 0, sizeof(possible_crtc));
|
||||
|
||||
size_t index;
|
||||
size_t index = 0;
|
||||
for (size_t i = 0; i < backend->outputs->length; ++i) {
|
||||
struct wlr_drm_output *o = backend->outputs->items[i];
|
||||
if (o == output) {
|
||||
|
|
Loading…
Reference in a new issue