mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
In command/commands.c you declare pcontact at the top of the function. Later in one case you declare it again and use it in a small scope. And in the same function you use it again this time from the first declaration. I think you intended only declaring it one time. At first I thought about top of the function because its easier to find. Then I saw that you declare "Jid jid" not at the top too, and I think for the sake of reducing scope it is better. So I went for this approach.
Profanity 
Profanity is a console based XMPP client inspired by Irssi,
See the User Guide for information on installing, upgrading and using Profanity.
Links
Homepage: http://www.profanity.im
Mailing List: https://groups.google.com/forum/#!forum/profanitydev
Description
Languages
C
97.4%
Python
1.4%
Makefile
0.6%
M4
0.5%
Shell
0.1%