cosmetic: Remove use of C++ style comments
Patch updated to remove dead lines as suggested by Daniel Stone
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c
index 1098f01..33805c1 100644
--- a/src/compositor-rdp.c
+++ b/src/compositor-rdp.c
@@ -717,7 +717,6 @@
{KBD_NORWEGIAN, "no", 0},
{KBD_POLISH_PROGRAMMERS, "pl", 0},
{KBD_POLISH_214, "pl", "qwertz"},
- // {KBD_PORTUGUESE_BRAZILIAN_ABN0416, 0},
{KBD_ROMANIAN, "ro", 0},
{KBD_RUSSIAN, "ru", 0},
{KBD_RUSSIAN_TYPEWRITER, "ru", "typewriter"},
diff --git a/src/vaapi-recorder.c b/src/vaapi-recorder.c
index 1fd7ebe..1228f7d 100644
--- a/src/vaapi-recorder.c
+++ b/src/vaapi-recorder.c
@@ -200,7 +200,7 @@
size_in_bits++;
}
- bitstream_put_ui(bs, 0, size_in_bits - 1); // leading zero
+ bitstream_put_ui(bs, 0, size_in_bits - 1); /* leading zero */
bitstream_put_ui(bs, val, size_in_bits);
}
diff --git a/tests/weston-test.c b/tests/weston-test.c
index b6ae91a..03e2c54 100644
--- a/tests/weston-test.c
+++ b/tests/weston-test.c
@@ -390,7 +390,7 @@
return;
}
- // FIXME: Needs to handle output transformations
+ /* FIXME: Needs to handle output transformations */
compositor->renderer->read_pixels(output,
compositor->read_format,
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
index 9398d24..dd873df 100644
--- a/xwayland/window-manager.c
+++ b/xwayland/window-manager.c
@@ -1715,8 +1715,6 @@
static int
get_cursor_for_location(enum theme_location location)
{
- // int location = theme_get_location(t, x, y, width, height, 0);
-
switch (location) {
case THEME_LOCATION_RESIZING_TOP:
return XWM_CURSOR_TOP;