Changes for avoid compiler warnings

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2010-11-18 13:15:04 +02:00 committed by Andrew Borodin
parent 08e9759283
commit 0ef9273598
2 changed files with 3 additions and 7 deletions

View File

@ -41,6 +41,8 @@
#include <string.h>
#include "lib/global.h"
#include "lib/strutil.h"
#include "lib/util.h"
#include "lib/widget.h" /* message() */
#undef PACKAGE_BUGREPORT
@ -54,7 +56,7 @@
conflicts with definitions in other includes */
#undef HAVE_LIBREADLINE
#define NO_CONFIG_H
#undef VERSION
#undef VERSION
#include "samba/include/includes.h"

View File

@ -1138,12 +1138,6 @@ vfs_smb_get_authinfo (const char *host, const char *share, const char *domain, c
Dlg_head *auth_dlg;
struct smb_authinfo *return_value = NULL;
const int input_colors[3] = {
INPUT_COLOR,
INPUT_UNCHANGED_COLOR,
INPUT_MARK_COLOR
};
#ifdef ENABLE_NLS
static int i18n_flag = 0;