Re: [ovs-dev] [PATCH ovn] treewide: Avoid empty initializer

2023-11-17 Thread Dumitru Ceara
On 11/2/23 15:40, Ihar Hrachyshka wrote: > +1, thanks for the cleanup. > > Reviewed-By: Ihar Hrachyshka > Thanks, Ales and Ihar! Applied to main. Regards, Dumitru > On Thu, Nov 2, 2023 at 8:50 AM Ales Musil wrote: > >> The empty initializer (" = {}") is allowed only from >> C23 and further

Re: [ovs-dev] [PATCH ovn] treewide: Avoid empty initializer

2023-11-02 Thread Ihar Hrachyshka
+1, thanks for the cleanup. Reviewed-By: Ihar Hrachyshka On Thu, Nov 2, 2023 at 8:50 AM Ales Musil wrote: > The empty initializer (" = {}") is allowed only from > C23 and further [0]. Use the supported C99 compatible > method instead ("= {0}"). This shouldn't case any > trouble because both GC

[ovs-dev] [PATCH ovn] treewide: Avoid empty initializer

2023-11-02 Thread Ales Musil
The empty initializer (" = {}") is allowed only from C23 and further [0]. Use the supported C99 compatible method instead ("= {0}"). This shouldn't case any trouble because both GCC and Clang generate the same instructions for either of the initializers. [0] https://www.open-std.org/jtc1/sc22/wg14