Ignore:
Timestamp:
Feb 6, 2007, 11:10:01 AM (17 years ago)
Author:
Bruno Cornec
Message:

Fix again another set of compiler warnings (Michel Loiseleur <mloiseleur_at_linagora.com>)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/newt-specific.c

    r1080 r1103  
    9696     g_xmondo_stdout[MAX_NEWT_COMMENT_LEN]; ///< .... @bug Unneeded w/current XMondo.
    9797    bool g_called_by_xmondo = FALSE;    ///< @bug Unneeded w/current XMondo.
    98     char *g_erase_tmpdir_and_scratchdir;    ///< The command to run to erase the tmpdir and scratchdir at the end of Mondo.
    99     char *g_selfmounted_isodir; ///< Holds the NFS mountpoint if mounted via mondoarchive.
     98    char *g_erase_tmpdir_and_scratchdir = NULL; ///< The command to run to erase the tmpdir and scratchdir at the end of Mondo.
     99    char *g_selfmounted_isodir = NULL;  ///< Holds the NFS mountpoint if mounted via mondoarchive.
    100100
    101101/* @} - end of globalGroup */
     
    375375 */
    376376    void
    377      finish(int signal) {
     377     finish(int signal_code) {
    378378        char *command;
    379379        malloc_string(command);
    380380
    381         /*  if (signal==0) { popup_and_OK("Please press <enter> to quit."); } */
     381        /*  if (signal_code==0) { popup_and_OK("Please press <enter> to quit."); } */
    382382
    383383        /* newtPopHelpLine(); */
     
    411411//  system("clear");
    412412//  iamhere("Finished calling newtFinished");
    413         printf("Execution run ended; result=%d\n", signal);
     413        printf("Execution run ended; result=%d\n", signal_code);
    414414        printf("Type 'less %s' to see the output log\n", MONDO_LOGFILE);
    415415        free_libmondo_global_strings();
    416         exit(signal);
     416        exit(signal_code);
    417417    }
    418418
     
    693693    void
    694694     popup_and_OK(char *prompt) {
    695         char ch;
     695        int ch;
    696696
    697697        assert_string_is_neither_NULL_nor_zerolength(prompt);
Note: See TracChangeset for help on using the changeset viewer.