[Bf-blender-cvs] [967fe75bb6a] master: Cleanup: remove redundant includes from GHOST_SystemPathsUnix
Campbell Barton
noreply at git.blender.org
Thu Sep 22 05:49:35 CEST 2022
Commit: 967fe75bb6af36733241c1ecad335034aa692e18
Author: Campbell Barton
Date: Thu Sep 22 11:26:49 2022 +1000
Branches: master
https://developer.blender.org/rB967fe75bb6af36733241c1ecad335034aa692e18
Cleanup: remove redundant includes from GHOST_SystemPathsUnix
===================================================================
M intern/ghost/intern/GHOST_SystemPathsUnix.cpp
===================================================================
diff --git a/intern/ghost/intern/GHOST_SystemPathsUnix.cpp b/intern/ghost/intern/GHOST_SystemPathsUnix.cpp
index 41babc5d312..7e1d3d868c6 100644
--- a/intern/ghost/intern/GHOST_SystemPathsUnix.cpp
+++ b/intern/ghost/intern/GHOST_SystemPathsUnix.cpp
@@ -5,22 +5,17 @@
* \ingroup GHOST
*/
-#include <cstdio>
#include <sstream>
#include "GHOST_SystemPathsUnix.h"
#include "GHOST_Debug.h"
-// For timing
-
+/* For timing. */
#include <sys/time.h>
#include <unistd.h>
-#include <cstdio> /* for fprintf only */
-#include <cstdlib> /* for exit */
-
-#include <pwd.h> /* for get home without use getenv() */
+#include <pwd.h> /* For get home without use `getenv()`. */
#include <string>
using std::string;
More information about the Bf-blender-cvs
mailing list