[Pkg-privacy-commits] [irssi-plugin-otr] 191/267: Fix: remove useless value

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:41:42 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 6d3eb115dabe6f1ae91999163485b7398102bccc
Author: David Goulet <dgoulet at ev0ke.net>
Date:   Fri Feb 1 17:31:40 2013 -0500

    Fix: remove useless value
    
    Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
 src/otr.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/otr.c b/src/otr.c
index ad81237..0028d7a 100644
--- a/src/otr.c
+++ b/src/otr.c
@@ -276,9 +276,7 @@ error:
  */
 struct otr_peer_context *otr_create_peer_context(void)
 {
-	struct otr_peer_context *opc;
-
-	return zmalloc(sizeof(*opc));
+	return zmalloc(sizeof(struct otr_peer_context));
 }
 
 /*

-- 
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