Add a CMake target for clang-tidy

This commit is contained in:
2015-11-13 09:05:25 +01:00
parent fe88e30bf5
commit 152ba0847d
2 changed files with 16 additions and 1 deletions

View File

@@ -1868,7 +1868,7 @@ serialize_configuration (struct app_context *ctx, struct str *output)
/// Builds a color pair for 256-color terminals with a 16-color backup value
#define COLOR_256(name, c256) \
(((COLOR_ ## name) & 0xFFFF) | ((c256 & 0xFFFF) << 16))
(((COLOR_ ## name) & 0xFFFF) | (((c256) & 0xFFFF) << 16))
static struct
{
@@ -4288,6 +4288,7 @@ transport_tls_init (struct server *s, struct error **e)
// XXX: is this a reason to abort the connection?
log_server_error (s, s->buffer, "#s", error->message);
error_free (error);
error = NULL;
}
SSL_set_connect_state (ssl);