Quellcode durchsuchen

Remove attributes causing build failures on various platforms (#1587)

Joseph Henry vor 3 Jahren
Ursprung
Commit
db8443ef7d
1 geänderte Dateien mit 0 neuen und 6 gelöschten Zeilen
  1. 0 6
      node/Bond.hpp

+ 0 - 6
node/Bond.hpp

@@ -1143,9 +1143,6 @@ class Bond {
 	 */
 	void log(const char* fmt, ...)
 	{
-#ifdef __GNUC__
-		__attribute__((format(printf, 2, 3)))
-#endif
 #ifdef ZT_TRACE
 		time_t rawtime;
 		struct tm* timeinfo;
@@ -1175,9 +1172,6 @@ class Bond {
 	 */
 	void debug(const char* fmt, ...)
 	{
-#ifdef __GNUC__
-		__attribute__((format(printf, 2, 3)))
-#endif
 #ifdef ZT_DEBUG
 		time_t rawtime;
 		struct tm* timeinfo;