compositor-x11: Use assert(0) instead of return NULL for non-reachable code
diff --git a/src/compositor-x11.c b/src/compositor-x11.c
index 51ae35d..6baf522 100644
--- a/src/compositor-x11.c
+++ b/src/compositor-x11.c
@@ -934,7 +934,7 @@
 			return output;
 	}
 
-	return NULL;
+	assert(0);
 }
 
 #ifdef HAVE_XCB_XKB