IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 12, 2007, 1:12:37 PM (20 years ago)
Author:
jcc
Message:

Moved variable definition at top of function

Location:
trunk/Ohana/src/opihi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/macro.c

    r11007 r11081  
    44
    55  int i, N, status;
     6  CommandF *cmd;
    67
    78  if ((argc != 2) && (argc != 3) && (argc != 4)) {
     
    1718    return (FALSE);
    1819  }
    19 
    20   CommandF *cmd;
    2120
    2221  cmd = find_macro_command (argv[1]);
  • trunk/Ohana/src/opihi/cmd.data/book_commands.c

    r11053 r11081  
    154154int book_newpage (int argc, char **argv) {
    155155
     156  Book *book;
     157
    156158  if (argc != 3) {
    157159    gprint (GP_ERR, "USAGE: book newpage (book) (page)\n");
    158160    return FALSE;
    159161  }
    160 
    161   Book *book;
    162162
    163163  book = FindBook (argv[1]);
Note: See TracChangeset for help on using the changeset viewer.