Fix Static analysis warning.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* rest_handler.c
|
||||
* rest_server.c
|
||||
*
|
||||
* Copyright (c) 2015-2020, NADAL Jean-Baptiste. All rights reserved.
|
||||
*
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
/*------------------------------- INCLUDES ----------------------------------*/
|
||||
|
||||
#include <rest/restd.h>
|
||||
#include <restd.h>
|
||||
|
||||
extern int setup_rest_server(restd_server_t *rest_server, const char *port, const char *root_path, void *dm);
|
||||
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
// This is an independent project of an individual developer. Dear PVS-Studio, please check it.
|
||||
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
|
||||
|
||||
/*------------------------------- INCLUDES ----------------------------------*/
|
||||
|
||||
#include <fcntl.h>
|
||||
@@ -34,7 +37,7 @@
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include <rest/restd.h>
|
||||
#include <restd.h>
|
||||
|
||||
#include "qunit.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user