Change in simtrace2[master]: cardem-pcsc: Fix return of uninitialized variable

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

laforge gerrit-no-reply at lists.osmocom.org
Mon Oct 25 06:12:31 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/simtrace2/+/25932 )


Change subject: cardem-pcsc: Fix return of uninitialized variable
......................................................................

cardem-pcsc: Fix return of uninitialized variable

Fixes: CID#240740
Change-Id: I97431f491f60e2a6537502ef88042907723b7de6
---
M host/src/simtrace2-cardem-pcsc.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/32/25932/1

diff --git a/host/src/simtrace2-cardem-pcsc.c b/host/src/simtrace2-cardem-pcsc.c
index df191df..576de61 100644
--- a/host/src/simtrace2-cardem-pcsc.c
+++ b/host/src/simtrace2-cardem-pcsc.c
@@ -199,6 +199,7 @@
 		break;
 	case SIMTRACE_MSGT_BD_CEMU_CONFIG:
 		/* firmware confirms configuration change; ignore */
+		rc = 0;
 		break;
 	default:
 		printf("unknown simtrace msg type 0x%02x\n", sh->msg_type);

-- 
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/25932
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I97431f491f60e2a6537502ef88042907723b7de6
Gerrit-Change-Number: 25932
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211025/a329dac0/attachment.htm>


More information about the gerrit-log mailing list