[Bf-blender-cvs] [39ea222339e] blender-v2.83-release: Cleanup: warnings

Campbell Barton noreply at git.blender.org
Wed May 6 00:28:55 CEST 2020


Commit: 39ea222339efc8035d605811de26759e136f0caa
Author: Campbell Barton
Date:   Wed May 6 08:17:27 2020 +1000
Branches: blender-v2.83-release
https://developer.blender.org/rB39ea222339efc8035d605811de26759e136f0caa

Cleanup: warnings

===================================================================

M	intern/ghost/intern/GHOST_SystemX11.cpp
M	source/blender/editors/sculpt_paint/sculpt_intern.h

===================================================================

diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp
index 825b93de36f..6c35e209167 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -2456,7 +2456,7 @@ GHOST_TSuccess GHOST_SystemX11::showMessageBox(const char *title,
           string cmd = "xdg-open \"" + string(link) + "\"";
           if (system(cmd.c_str()) != 0) {
             GHOST_PRINTF("GHOST_SystemX11::showMessageBox: Unable to run system command [%s]",
-                         cmd);
+                         cmd.c_str());
           }
         }
         break;
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index 75a329132d2..bc7a78f491c 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -856,7 +856,7 @@ void SCULPT_cache_free(StrokeCache *cache);
 
 SculptUndoNode *SCULPT_undo_push_node(Object *ob, PBVHNode *node, SculptUndoType type);
 SculptUndoNode *SCULPT_undo_get_node(PBVHNode *node);
-SculptUndoNode *SCULPT_undo_get_first_node();
+SculptUndoNode *SCULPT_undo_get_first_node(void);
 void SCULPT_undo_push_begin(const char *name);
 void SCULPT_undo_push_end(void);
 void SCULPT_undo_push_end_ex(const bool use_nested_undo);



More information about the Bf-blender-cvs mailing list