Cleanup: Strict compiler warnings

This commit is contained in:
Sergey Sharybin
2019-10-11 15:01:34 +02:00
parent 533a7e25db
commit 46e9fc9362
3 changed files with 4 additions and 3 deletions

View File

@@ -58,6 +58,7 @@
#include "DEG_depsgraph.h" #include "DEG_depsgraph.h"
#include "DEG_depsgraph_build.h" #include "DEG_depsgraph_build.h"
#include "interface_intern.h"
#include "interface_eyedropper_intern.h" #include "interface_eyedropper_intern.h"
typedef struct EyedropperGPencil { typedef struct EyedropperGPencil {
@@ -67,7 +68,7 @@ typedef struct EyedropperGPencil {
} EyedropperGPencil; } EyedropperGPencil;
/* Helper: Draw status message while the user is running the operator */ /* Helper: Draw status message while the user is running the operator */
static void eyedropper_gpencil_status_indicators(bContext *C, EyedropperGPencil *eye) static void eyedropper_gpencil_status_indicators(bContext *C, EyedropperGPencil *UNUSED(eye))
{ {
char msg_str[UI_MAX_DRAW_STR]; char msg_str[UI_MAX_DRAW_STR];
BLI_strncpy( BLI_strncpy(