aboutsummaryrefslogtreecommitdiff
path: root/libssh/dh.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-04-28 19:36:39 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-04-28 19:36:39 +0200
commit7d32ec5d28ecdf72f69d14794fd2fc98003b3fdd (patch)
tree8e8d37cffd037c8609cc08ce69d3c45aa0f965cd /libssh/dh.c
parent20e7ec96ae01d4367a7fbcd87bdbf0fa6496492b (diff)
downloadlibssh-7d32ec5d28ecdf72f69d14794fd2fc98003b3fdd.tar.gz
libssh-7d32ec5d28ecdf72f69d14794fd2fc98003b3fdd.tar.xz
libssh-7d32ec5d28ecdf72f69d14794fd2fc98003b3fdd.zip
Fix warnings found with clang analyzer
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 86de9a2..9b9e129 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -882,7 +882,7 @@ static int match(const char *group, const char *object){
const char *a;
const char *z;
- a = z = group;
+ z = group;
do {
a = strchr(z, ',');
if (a == NULL) {