From 19acf74bf02b1ce82871026c89a233233f98b50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Tue, 29 Jan 2002 21:59:44 +0000 Subject: [PATCH] misc fixes git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@944 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- src/misc.c | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/src/misc.c b/src/misc.c index 24f420aef..1af562580 100644 --- a/src/misc.c +++ b/src/misc.c @@ -2,7 +2,7 @@ * Hamlib Interface - toolbox * Copyright (c) 2000,2001 by Stephane Fillod and Frank Singleton * - * $Id: misc.c,v 1.14 2002-01-27 23:47:41 fillods Exp $ + * $Id: misc.c,v 1.15 2002-01-29 21:59:44 fillods Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -452,15 +452,14 @@ const char *strstatus(enum rig_status_e status) int sprintf_mode(char *str, rmode_t mode) { int i, len=0; - const char *ms; *str = '\0'; if (mode == RIG_MODE_NONE) return 0; for (i = 0; i < 30; i++) { - ms = strmode(mode & (1UL<