pidgin/pidgin

Fix some new warnings in zephyr.

2021-01-26, Elliott Sales de Andrade
611ae5d8a232
Fix some new warnings in zephyr.

* The `ZSubscription_t` struct uses non-const pointers, but we aren't doing anything with them really, so just cast the things we're inserting.
* The removed `zephyr` variable already exists higher up in the function.

Testing Done:
Compile

Reviewed at https://reviews.imfreedom.org/r/457/
subdir('keyrings')
subdir('notification-sound')
if PLUGINS
autoaccept = library('autoaccept', 'autoaccept.c',
dependencies : [libpurple_dep, glib],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
buddynote = library('buddynote', 'buddynote.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
idle = library('idle', 'idle.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
joinpart = library('joinpart', 'joinpart.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
log_reader = library('log_reader', 'log_reader.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
psychic = library('psychic', 'psychic.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
statenotify = library('statenotify', 'statenotify.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
purple_toast = library('purple-toast', 'purple-toast.c',
dependencies : [libpurple_dep],
name_prefix: '',
install : true, install_dir : PURPLE_PLUGINDIR)
endif # PLUGINS