[MERGED] libosmocore[master]: core/conv/conv.c: drop useless assignment

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Jun 15 14:39:41 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: core/conv/conv.c: drop useless assignment
......................................................................


core/conv/conv.c: drop useless assignment

Change-Id: I8c3aa5ec100abacf93da1493aa134e42bf612206
---
M src/conv.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tom Tsou: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/conv.c b/src/conv.c
index 8e97e52..b81e37e 100644
--- a/src/conv.c
+++ b/src/conv.c
@@ -624,7 +624,7 @@
 	l = osmo_conv_decode_scan(&decoder, input, code->len);
 
 	if (code->term == CONV_TERM_FLUSH)
-		l = osmo_conv_decode_flush(&decoder, &input[l]);
+		osmo_conv_decode_flush(&decoder, &input[l]);
 
 	rv = osmo_conv_decode_get_output(&decoder, output,
 		code->term == CONV_TERM_FLUSH,		/* has_flush */

-- 
To view, visit https://gerrit.osmocom.org/2879
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8c3aa5ec100abacf93da1493aa134e42bf612206
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Tom Tsou <tom at tsou.cc>



More information about the gerrit-log mailing list