[education/rkward] rkward/rbackend/rkwarddevice: Remove unneeded warning

Thomas Friedrichsmeier null at kde.org
Sun Apr 17 22:18:53 BST 2022


Git commit 5b2e1c3670697b1ff2698c9bb40c7d96cb437720 by Thomas Friedrichsmeier.
Committed on 17/04/2022 at 21:18.
Pushed by tfry into branch 'master'.

Remove unneeded warning

M  +2    -4    rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp

https://invent.kde.org/education/rkward/commit/5b2e1c3670697b1ff2698c9bb40c7d96cb437720

diff --git a/rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp b/rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp
index 1009c440..10efc7e6 100644
--- a/rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp
+++ b/rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp
@@ -627,11 +627,9 @@ void RKD_onExit (pDevDesc dev) {
 	dev->gettingEvent = (Rboolean) false;
 }
 
-int RKD_HoldFlush (pDevDesc dev, int level) {
+int RKD_HoldFlush (pDevDesc, int) {
 	RK_TRACE(GRAPHICS_DEVICE);
-#ifdef __GNUC__
-#warning implement me
-#endif
+	// deliberately left unimplemented: Drawing is in a separte thread, anyway, and only done after a timeout
 	return 0;
 }
 


More information about the rkward-tracker mailing list