Fix warnings from clang

Review Request #2785 — Created Nov. 7, 2023 and submitted

Information

pidgin/pidgin
default

Reviewers

This fixes a 'missing struct initializer' warning, and a read out-of-bounds of
a static array.

Also, delete an unused struct typedef.

Compiled with clang and saw fewer warnings.

Summary ID
Fix warnings from clang
This fixes a 'missing struct initializer' warning, and a read out-of-bounds of a static array. Also, delete an unused struct typedef.
cde3ed9ef057fcac23535ac3f9556d85a1de3200
Description From Last Updated

Per the docs we should be using G_OPTION_ENTRY_NULL

grimgrim
grim
  1. 
      
  2. libpurple/purpleoptions.c (Diff revision 1)
     
     
    Show all issues

    Per the docs we should be using G_OPTION_ENTRY_NULL

    1. I misinterpreted it at first, but yes, that seems to work as well.

  3. 
      
QuLogic
grim
  1. Great work! Thanks!!

  2. 
      
grim
Review request changed
Status:
Completed