Skip to content

Commit

Permalink
presence: removed unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed May 30, 2017
1 parent 2cb9ffc commit 6021f1d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/modules/presence/presence.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,6 @@ static void destroy(void)

static int fixup_presence(void** param, int param_no)
{
pv_elem_t *model;
str s;

if(library_mode) {
LM_ERR("Bad config - you can not call 'handle_publish' function"
" (db_url not set)\n");
Expand Down Expand Up @@ -1933,4 +1930,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
sr_kemi_modules_add(sr_kemi_presence_exports);
return 0;
}
}

0 comments on commit 6021f1d

Please sign in to comment.