wbokslag has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-tetra/+/28597 )
Change subject: moved variable declaration to prevent compiler warnings
......................................................................
moved variable declaration to prevent compiler warnings
Change-Id: If9a83589b220ae7d937ef75c79de57be11858cd1
---
M src/conv_enc_test.c
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-tetra refs/changes/97/28597/1
diff --git a/src/conv_enc_test.c b/src/conv_enc_test.c
index 150a564..f056755 100644
--- a/src/conv_enc_test.c
+++ b/src/conv_enc_test.c
@@ -306,8 +306,7 @@
int main(int argc, char **argv)
{
- int err, i;
- uint16_t out;
+ int i;
uint32_t ret;
/* first: run some subsystem tests */
@@ -317,6 +316,8 @@
tetra_rm3014_init();
#if 0
+ int err;
+ uint16_t out;
ret = tetra_rm3014_compute(0x1001);
printf("RM3014: 0x%08x\n", ret);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-tetra/+/28597
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-tetra
Gerrit-Branch: master
Gerrit-Change-Id: If9a83589b220ae7d937ef75c79de57be11858cd1
Gerrit-Change-Number: 28597
Gerrit-PatchSet: 1
Gerrit-Owner: wbokslag <w.bokslag(a)midnightblue.nl>
Gerrit-MessageType: newchange