git://git.jankratochvil.net
/
gnokii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetic unused variable
[gnokii.git]
/
common
/
gsm-api.c
diff --git
a/common/gsm-api.c
b/common/gsm-api.c
index
4546e14
..
229232d
100644
(file)
--- a/
common/gsm-api.c
+++ b/
common/gsm-api.c
@@
-87,10
+87,8
@@
GSM_Protocol *Protocol;
GSM_PhonebookEntry *CurrentPhonebookEntry;
GSM_Error CurrentPhonebookError;
GSM_PhonebookEntry *CurrentPhonebookEntry;
GSM_Error CurrentPhonebookError;
-#ifndef UCLINUX
GSM_SpeedDial *CurrentSpeedDialEntry;
GSM_Error CurrentSpeedDialError;
GSM_SpeedDial *CurrentSpeedDialEntry;
GSM_Error CurrentSpeedDialError;
-#endif /* UCLINUX */
unsigned char Current_IMEI[GSM_MAX_IMEI_LENGTH];
unsigned char Current_Revision[GSM_MAX_REVISION_LENGTH];
unsigned char Current_IMEI[GSM_MAX_IMEI_LENGTH];
unsigned char Current_Revision[GSM_MAX_REVISION_LENGTH];
@@
-663,7
+661,7
@@
bool GetMemoryTypeString(char *memorytext, GSM_MemoryType *type)
char *name;
} GSM_MTStrings;
char *name;
} GSM_MTStrings;
- GSM_MTStrings mystring[] = {
+
static
GSM_MTStrings mystring[] = {
{GMT_ME,"ME"},
{GMT_SM,"SM"},
{GMT_FD,"FD"},
{GMT_ME,"ME"},
{GMT_SM,"SM"},
{GMT_FD,"FD"},
@@
-696,7
+694,7
@@
bool GetMemoryTypeID(char *memorytext, GSM_MemoryType *type)
char *name;
} GSM_MTStrings;
char *name;
} GSM_MTStrings;
- GSM_MTStrings mystring[] = {
+
static
GSM_MTStrings mystring[] = {
{GMT_ME,"ME"},
{GMT_SM,"SM"},
{GMT_FD,"FD"},
{GMT_ME,"ME"},
{GMT_SM,"SM"},
{GMT_FD,"FD"},