Ignore:
Timestamp:
Jul 4, 2008 11:49:44 PM (16 years ago)
Author:
bennylp
Message:

Fixed compilation warnings on gcc-4.2.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/mix.c

    r2039 r2103  
    7070    PJ_LOG(3,(THIS_FILE, "%s error: %s", title, errmsg)); 
    7171    return 1; 
     72} 
     73 
     74static void usage(void) 
     75{ 
     76    puts(desc); 
    7277} 
    7378 
     
    101106            if (clock_rate < 1000) { 
    102107                puts("Error: invalid clock rate"); 
     108                usage(); 
    103109                return -1; 
    104110            } 
     
    113119    if (pj_optind == argc) { 
    114120        puts("Error: no WAV output is specified"); 
     121        usage(); 
    115122        return 1; 
    116123    } 
Note: See TracChangeset for help on using the changeset viewer.