Skip to content
  • Philip Withnall's avatar
    adw-carousel: Fix a -Wmaybe-uninitialized warning · 05969550
    Philip Withnall authored
    
    
    It’s a false positive, but it’s better to be able to compile without
    warnings than having to remember which ones are false positives every
    time.
    
    ```
    ../../source/libadwaita/src/adw-carousel.c: In function ‘adw_carousel_reorder’:
    ../../source/libadwaita/src/adw-carousel.c:1324:5: error: ‘next_info’ may be used uninitialized [-Werror=maybe-uninitialized]
     1324 |     gtk_widget_insert_before (child, GTK_WIDGET (self), next_info->widget);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ```
    
    Signed-off-by: default avatarPhilip Withnall <pwithnall@gnome.org>
    05969550