Skip to content

Fix empty initializer compilation error with MSVC

Dan Yeaw requested to merge danyeaw/libadwaita:danyeaw-main-patch-39354 into main

Thanks for libadwaita, it really helps Gaphor and other apps feel really modern!

This MR fixes a compilation error because of an empty initializer with MSVC. Although GCC will accept it when pedantic errors aren't enabled, I don't this is allowed in C99. Apologies if this MR is a bit pedantic as well, but it will help with Windows support. Cheers!

Merge request reports