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>
dev
Chris Michael 9 years ago committed by Bryce Harrington
parent 9973967138
commit 2ec5f2a633
  1. 1
      src/compositor-rdp.c
  2. 2
      src/vaapi-recorder.c
  3. 2
      tests/weston-test.c
  4. 2
      xwayland/window-manager.c

@ -717,7 +717,6 @@ struct rdp_to_xkb_keyboard_layout rdp_keyboards[] = {
{KBD_NORWEGIAN, "no", 0}, {KBD_NORWEGIAN, "no", 0},
{KBD_POLISH_PROGRAMMERS, "pl", 0}, {KBD_POLISH_PROGRAMMERS, "pl", 0},
{KBD_POLISH_214, "pl", "qwertz"}, {KBD_POLISH_214, "pl", "qwertz"},
// {KBD_PORTUGUESE_BRAZILIAN_ABN0416, 0},
{KBD_ROMANIAN, "ro", 0}, {KBD_ROMANIAN, "ro", 0},
{KBD_RUSSIAN, "ru", 0}, {KBD_RUSSIAN, "ru", 0},
{KBD_RUSSIAN_TYPEWRITER, "ru", "typewriter"}, {KBD_RUSSIAN_TYPEWRITER, "ru", "typewriter"},

@ -200,7 +200,7 @@ bitstream_put_ue(struct bitstream *bs, unsigned int val)
size_in_bits++; 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); bitstream_put_ui(bs, val, size_in_bits);
} }

@ -390,7 +390,7 @@ test_screenshot_frame_notify(struct wl_listener *listener, void *data)
return; return;
} }
// FIXME: Needs to handle output transformations /* FIXME: Needs to handle output transformations */
compositor->renderer->read_pixels(output, compositor->renderer->read_pixels(output,
compositor->read_format, compositor->read_format,

@ -1715,8 +1715,6 @@ weston_wm_destroy_cursors(struct weston_wm *wm)
static int static int
get_cursor_for_location(enum theme_location location) get_cursor_for_location(enum theme_location location)
{ {
// int location = theme_get_location(t, x, y, width, height, 0);
switch (location) { switch (location) {
case THEME_LOCATION_RESIZING_TOP: case THEME_LOCATION_RESIZING_TOP:
return XWM_CURSOR_TOP; return XWM_CURSOR_TOP;

Loading…
Cancel
Save