Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some compiler warning.
  • Loading branch information
Marco van Wieringen committed May 5, 2013
1 parent 83b449e commit ee57bc5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/dird/backup.c
Expand Up @@ -306,8 +306,8 @@ bool do_native_backup(JCR *jcr)
int status;
int tls_need = BNET_TLS_NONE;
BSOCK *fd, *sd;
STORERES *store;
CLIENTRES *client;
STORERES *store = NULL;
CLIENTRES *client = NULL;
char ed1[100];
db_int64_ctx job;
POOL_MEM buf;
Expand Down
3 changes: 2 additions & 1 deletion src/dird/verify.c
Expand Up @@ -97,7 +97,8 @@ bool do_verify(JCR *jcr)
{
int JobLevel;
const char *level;
BSOCK *fd, *sd;
BSOCK *fd = NULL;
BSOCK *sd = NULL;
int status;
char ed1[100];
JOB_DBR jr;
Expand Down
2 changes: 0 additions & 2 deletions src/filed/dir_cmd.c
Expand Up @@ -182,8 +182,6 @@ static char runscriptcmd[] =
*/
static char errmsg[] =
"2999 Invalid command\n";
static char no_auth[] =
"2998 No Authorization\n";
static char invalid_cmd[] =
"2997 Invalid command for a Director with Monitor directive enabled.\n";
static char OkAuthorization[] =
Expand Down

0 comments on commit ee57bc5

Please sign in to comment.