Build warning fixes.
This commit is contained in:
parent
4dc835b73d
commit
b3b58cc635
@ -1,3 +1,6 @@
|
||||
Broker:
|
||||
- Build warning fixes when building with WITH_BRIDGE=no and WITH_TLS=no.
|
||||
|
||||
Clients:
|
||||
- All clients exit with an error exit code on CONNACK failure. Closes #1778.
|
||||
- Don't busy loop with `mosquitto_pub -l` on a slow connection.
|
||||
|
@ -760,6 +760,7 @@ int config__read(struct mosquitto_db *db, struct mosquitto__config *config, bool
|
||||
}
|
||||
|
||||
|
||||
#ifdef WITH_BRIDGE
|
||||
static int config__create_bridge_remap_topic(const char *prefix, const char *topic, char **remap_topic)
|
||||
{
|
||||
int len;
|
||||
@ -827,6 +828,7 @@ static int config__create_bridge_prefix(char **prefix, const char *topic, const
|
||||
|
||||
return MOSQ_ERR_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
int config__read_file_core(struct mosquitto__config *config, bool reload, struct config_recurse *cr, int level, int *lineno, FILE *fptr, char **buf, int *buflen)
|
||||
@ -849,8 +851,10 @@ int config__read_file_core(struct mosquitto__config *config, bool reload, struct
|
||||
int lineno_ext = 0;
|
||||
char **files;
|
||||
int file_count;
|
||||
#ifdef WITH_TLS
|
||||
char *kpass_sha = NULL, *kpass_sha_bin = NULL;
|
||||
char *keyform ;
|
||||
#endif
|
||||
|
||||
*lineno = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user