summaryrefslogtreecommitdiff
path: root/src/libgsmd/libgsmd_network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgsmd/libgsmd_network.c')
-rw-r--r--src/libgsmd/libgsmd_network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgsmd/libgsmd_network.c b/src/libgsmd/libgsmd_network.c
index 5551de3..eb45169 100644
--- a/src/libgsmd/libgsmd_network.c
+++ b/src/libgsmd/libgsmd_network.c
@@ -38,6 +38,7 @@ int lgsm_get_netreg_state(struct lgsm_handle *lh,
enum lgsm_netreg_state *state)
{
*state = lh->netreg_state;
+ return 0;
}
int lgsm_oper_get(struct lgsm_handle *lh)
@@ -139,7 +140,6 @@ int lgsm_voicemail_set(struct lgsm_handle *lh, const char *number)
{
struct gsmd_msg_hdr *gmh;
struct gsmd_voicemail *vmail;
- int rc;
gmh = lgsm_gmh_fill(GSMD_MSG_NETWORK,
GSMD_NETWORK_VMAIL_SET, sizeof(*vmail));
personal git repositories of Harald Welte. Your mileage may vary