swaybg: comment unused argument

This fixes a compiler warning:

../swaybg/main.c: In function ‘main’:
../swaybg/main.c:52:8: warning: unused variable ‘scaling_mode’ [-Wunused-variable]
  char *scaling_mode = argv[3];
        ^
This commit is contained in:
Christoph Gysin 2015-11-25 14:10:50 +02:00
parent a642827dfb
commit 9e7064917d

View file

@ -49,7 +49,7 @@ int main(int argc, char **argv) {
desktop_shell_set_background(registry->desktop_shell, output->output, window->surface);
list_add(surfaces, window);
char *scaling_mode = argv[3];
/* char *scaling_mode = argv[3]; */
cairo_surface_t *image = cairo_image_surface_create_from_png(argv[2]);
double width = cairo_image_surface_get_width(image);
double height = cairo_image_surface_get_height(image);