Ticket #4061: osm2pgsql-no-return-in-nonvoid-function.patch

File osm2pgsql-no-return-in-nonvoid-function.patch, 571 bytes (added by max@…, 8 years ago)
  • middle-pgsql.c

    old new  
    164164            tables[i].copyMode = 1;
    165165        }
    166166    }
     167    return 0;
    167168}
    168169
    169170static void pgsql_cleanup(void)
  • output-pgsql.c

    old new  
    11521152        tables[i].sql_conn = sql_conn;
    11531153        pgsql_exec(sql_conn, PGRES_COMMAND_OK, "BEGIN");
    11541154    }
     1155    return 0;
    11551156}
    11561157
    11571158static int pgsql_out_start(const struct output_options *options)