pidgin/pidgin

13b1e211d865
Parents f88830d41330
Children 46d10c72c137
Fix missing braces around initializer warnings in jabber.

Testing Done:
Compile and see fewer warnings.

Reviewed at https://reviews.imfreedom.org/r/217/
--- a/libpurple/protocols/jabber/usermood.c Sat Nov 14 03:02:30 2020 -0600
+++ b/libpurple/protocols/jabber/usermood.c Sat Nov 14 03:05:16 2020 -0600
@@ -30,92 +30,92 @@
#include <string.h>
static PurpleMood moods[] = {
- {"afraid", N_("Afraid"), NULL},
- {"amazed", N_("Amazed"), NULL},
- {"amorous", N_("Amorous"), NULL},
- {"angry", N_("Angry"), NULL},
- {"annoyed", N_("Annoyed"), NULL},
- {"anxious", N_("Anxious"), NULL},
- {"aroused", N_("Aroused"), NULL},
- {"ashamed", N_("Ashamed"), NULL},
- {"bored", N_("Bored"), NULL},
- {"brave", N_("Brave"), NULL},
- {"calm", N_("Calm"), NULL},
- {"cautious", N_("Cautious"), NULL},
- {"cold", N_("Cold"), NULL},
- {"confident", N_("Confident"), NULL},
- {"confused", N_("Confused"), NULL},
- {"contemplative", N_("Contemplative"), NULL},
- {"contented", N_("Contented"), NULL},
- {"cranky", N_("Cranky"), NULL},
- {"crazy", N_("Crazy"), NULL},
- {"creative", N_("Creative"), NULL},
- {"curious", N_("Curious"), NULL},
- {"dejected", N_("Dejected"), NULL},
- {"depressed", N_("Depressed"), NULL},
- {"disappointed", N_("Disappointed"), NULL},
- {"disgusted", N_("Disgusted"), NULL},
- {"dismayed", N_("Dismayed"), NULL},
- {"distracted", N_("Distracted"), NULL},
- {"embarrassed", N_("Embarrassed"), NULL},
- {"envious", N_("Envious"), NULL},
- {"excited", N_("Excited"), NULL},
- {"flirtatious", N_("Flirtatious"), NULL},
- {"frustrated", N_("Frustrated"), NULL},
- {"grateful", N_("Grateful"), NULL},
- {"grieving", N_("Grieving"), NULL},
- {"grumpy", N_("Grumpy"), NULL},
- {"guilty", N_("Guilty"), NULL},
- {"happy", N_("Happy"), NULL},
- {"hopeful", N_("Hopeful"), NULL},
- {"hot", N_("Hot"), NULL},
- {"humbled", N_("Humbled"), NULL},
- {"humiliated", N_("Humiliated"), NULL},
- {"hungry", N_("Hungry"), NULL},
- {"hurt", N_("Hurt"), NULL},
- {"impressed", N_("Impressed"), NULL},
- {"in_awe", N_("In awe"), NULL},
- {"in_love", N_("In love"), NULL},
- {"indignant", N_("Indignant"), NULL},
- {"interested", N_("Interested"), NULL},
- {"intoxicated", N_("Intoxicated"), NULL},
- {"invincible", N_("Invincible"), NULL},
- {"jealous", N_("Jealous"), NULL},
- {"lonely", N_("Lonely"), NULL},
- {"lost", N_("Lost"), NULL},
- {"lucky", N_("Lucky"), NULL},
- {"mean", N_("Mean"), NULL},
- {"moody", N_("Moody"), NULL},
- {"nervous", N_("Nervous"), NULL},
- {"neutral", N_("Neutral"), NULL},
- {"offended", N_("Offended"), NULL},
- {"outraged", N_("Outraged"), NULL},
- {"playful", N_("Playful"), NULL},
- {"proud", N_("Proud"), NULL},
- {"relaxed", N_("Relaxed"), NULL},
- {"relieved", N_("Relieved"), NULL},
- {"remorseful", N_("Remorseful"), NULL},
- {"restless", N_("Restless"), NULL},
- {"sad", N_("Sad"), NULL},
- {"sarcastic", N_("Sarcastic"), NULL},
- {"satisfied", N_("Satisfied"), NULL},
- {"serious", N_("Serious"), NULL},
- {"shocked", N_("Shocked"), NULL},
- {"shy", N_("Shy"), NULL},
- {"sick", N_("Sick"), NULL},
- {"sleepy", N_("Sleepy"), NULL},
- {"spontaneous", N_("Spontaneous"), NULL},
- {"stressed", N_("Stressed"), NULL},
- {"strong", N_("Strong"), NULL},
- {"surprised", N_("Surprised"), NULL},
- {"thankful", N_("Thankful"), NULL},
- {"thirsty", N_("Thirsty"), NULL},
- {"tired", N_("Tired"), NULL},
- {"undefined", N_("Undefined"), NULL},
- {"weak", N_("Weak"), NULL},
- {"worried", N_("Worried"), NULL},
- /* Mar last record. */
- {NULL, NULL, NULL}
+ {"afraid", N_("Afraid"), },
+ {"amazed", N_("Amazed"), },
+ {"amorous", N_("Amorous"), },
+ {"angry", N_("Angry"), },
+ {"annoyed", N_("Annoyed"), },
+ {"anxious", N_("Anxious"), },
+ {"aroused", N_("Aroused"), },
+ {"ashamed", N_("Ashamed"), },
+ {"bored", N_("Bored"), },
+ {"brave", N_("Brave"), },
+ {"calm", N_("Calm"), },
+ {"cautious", N_("Cautious"), },
+ {"cold", N_("Cold"), },
+ {"confident", N_("Confident"), },
+ {"confused", N_("Confused"), },
+ {"contemplative", N_("Contemplative"), },
+ {"contented", N_("Contented"), },
+ {"cranky", N_("Cranky"), },
+ {"crazy", N_("Crazy"), },
+ {"creative", N_("Creative"), },
+ {"curious", N_("Curious"), },
+ {"dejected", N_("Dejected"), },
+ {"depressed", N_("Depressed"), },
+ {"disappointed", N_("Disappointed"), },
+ {"disgusted", N_("Disgusted"), },
+ {"dismayed", N_("Dismayed"), },
+ {"distracted", N_("Distracted"), },
+ {"embarrassed", N_("Embarrassed"), },
+ {"envious", N_("Envious"), },
+ {"excited", N_("Excited"), },
+ {"flirtatious", N_("Flirtatious"), },
+ {"frustrated", N_("Frustrated"), },
+ {"grateful", N_("Grateful"), },
+ {"grieving", N_("Grieving"), },
+ {"grumpy", N_("Grumpy"), },
+ {"guilty", N_("Guilty"), },
+ {"happy", N_("Happy"), },
+ {"hopeful", N_("Hopeful"), },
+ {"hot", N_("Hot"), },
+ {"humbled", N_("Humbled"), },
+ {"humiliated", N_("Humiliated"), },
+ {"hungry", N_("Hungry"), },
+ {"hurt", N_("Hurt"), },
+ {"impressed", N_("Impressed"), },
+ {"in_awe", N_("In awe"), },
+ {"in_love", N_("In love"), },
+ {"indignant", N_("Indignant"), },
+ {"interested", N_("Interested"), },
+ {"intoxicated", N_("Intoxicated"), },
+ {"invincible", N_("Invincible"), },
+ {"jealous", N_("Jealous"), },
+ {"lonely", N_("Lonely"), },
+ {"lost", N_("Lost"), },
+ {"lucky", N_("Lucky"), },
+ {"mean", N_("Mean"), },
+ {"moody", N_("Moody"), },
+ {"nervous", N_("Nervous"), },
+ {"neutral", N_("Neutral"), },
+ {"offended", N_("Offended"), },
+ {"outraged", N_("Outraged"), },
+ {"playful", N_("Playful"), },
+ {"proud", N_("Proud"), },
+ {"relaxed", N_("Relaxed"), },
+ {"relieved", N_("Relieved"), },
+ {"remorseful", N_("Remorseful"), },
+ {"restless", N_("Restless"), },
+ {"sad", N_("Sad"), },
+ {"sarcastic", N_("Sarcastic"), },
+ {"satisfied", N_("Satisfied"), },
+ {"serious", N_("Serious"), },
+ {"shocked", N_("Shocked"), },
+ {"shy", N_("Shy"), },
+ {"sick", N_("Sick"), },
+ {"sleepy", N_("Sleepy"), },
+ {"spontaneous", N_("Spontaneous"), },
+ {"stressed", N_("Stressed"), },
+ {"strong", N_("Strong"), },
+ {"surprised", N_("Surprised"), },
+ {"thankful", N_("Thankful"), },
+ {"thirsty", N_("Thirsty"), },
+ {"tired", N_("Tired"), },
+ {"undefined", N_("Undefined"), },
+ {"weak", N_("Weak"), },
+ {"worried", N_("Worried"), },
+ /* Mark last record. */
+ {NULL, }
};
static const PurpleMood*