Daniele Bartolini 9 лет назад
Родитель
Сommit
8536d03195
2 измененных файлов с 1 добавлено и 4 удалено
  1. 0 3
      src/device/main_linux.cpp
  2. 1 1
      src/device/main_windows.cpp

+ 0 - 3
src/device/main_linux.cpp

@@ -528,9 +528,6 @@ public:
 			visual = parent_attrs.visual;
 		}
 
-		CE_LOGD("%d", visual->bits_per_rgb); /* the associated visual structure */
-		CE_LOGD("%d", depth);			     /* the associated visual structure */
-
 		_x11_window = XCreateWindow(_x11_display
 			, parent_window
 			, x

+ 1 - 1
src/device/main_windows.cpp

@@ -629,7 +629,7 @@ int main(int argc, char** argv)
 	if (cl.has_argument("run-unit-tests"))
 	{
 		run_unit_tests();
-		return 0;
+		return EXIT_SUCCESS;
 	}
 #endif // CROWN_BUILD_UNIT_TESTS
 	InitMemoryGlobals m;