Changeset 72990


Ignore:
Timestamp:
Jul 14, 2018, 6:00:43 PM (6 years ago)
Author:
hcho
Message:

m.nviz.image: Remove overwrite variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/misc/m.nviz.image/main.c

    r72989 r72990  
    3939    int width, height;          /* output image size */
    4040    char *output_name;
    41     int overwrite;
    4241
    4342    nv_data data;
     
    6362    /* define options, call G_parser() */
    6463    parse_command(argc, argv, params);
    65     overwrite = G_check_overwrite(argc, argv);
    6664
    6765    /* check parameters consistency */
     
    7472
    7573    if (access(output_name, F_OK) == 0) {
    76         if (overwrite)
     74        if (G_check_overwrite(argc, argv))
    7775            G_warning(_("File <%s> already exists and will be overwritten"), output_name);
    7876        else
Note: See TracChangeset for help on using the changeset viewer.