Ignore:
Timestamp:
Aug 25, 2015 8:45:46 AM (9 years ago)
Author:
nanang
Message:

Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.

File:
1 edited

Legend:

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

    r4440 r5170  
    220220 * Simple implementation of app_main() for console targets 
    221221 */ 
    222 pj_status_t app_main(pj_cli_t *cli) 
     222pj_status_t app_main(pj_cli_t *c) 
    223223{ 
    224224    pj_status_t status; 
     
    232232     * Create the console front end 
    233233     */ 
    234     status = pj_cli_console_create(cli, &console_cfg, &sess, NULL); 
     234    status = pj_cli_console_create(c, &console_cfg, &sess, NULL); 
    235235    if (status != PJ_SUCCESS) 
    236236        return status; 
     
    243243    for (;;) { 
    244244        char cmdline[PJ_CLI_MAX_CMDBUF]; 
    245         pj_status_t status; 
    246245 
    247246        status = pj_cli_console_process(sess, &cmdline[0], sizeof(cmdline)); 
Note: See TracChangeset for help on using the changeset viewer.