[Pkg-privacy-commits] [irssi-plugin-otr] 14/267: fix -Wuninitialized warning.
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:41:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.
commit 8eb6f6070ea98c8d247b953f411d929f5df4e744
Author: Uli Meis <a.sporto+bee at gmail.com>
Date: Fri Jun 6 02:06:27 2008 +0200
fix -Wuninitialized warning.
---
otrutil.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/otrutil.c b/otrutil.c
index b1243d2..5e955e6 100644
--- a/otrutil.c
+++ b/otrutil.c
@@ -187,6 +187,7 @@ char *otr_contexts() {
case OTRL_MSGSTATE_PLAINTEXT: state = "plaintext";break;
case OTRL_MSGSTATE_ENCRYPTED: state = "%gencrypted%n";break;
case OTRL_MSGSTATE_FINISHED: state = "finished ";break;
+ default: state = "unknown state(BUG)";break;
}
s += sprintf(s,"%%9%20s%%9 %30s %s\n",context->username,
context->accountname,state);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/irssi-plugin-otr.git
More information about the Pkg-privacy-commits
mailing list