Ignore:
Timestamp:
06/28/11 14:28:46 (13 years ago)
Author:
ogrimm
Message:
Adaptions to allow compilation on Ubuntu
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/BIASctrl/User.cc

    r10153 r11205  
    114114  // Shell command
    115115  if(Command[0]=='.') {
    116     system(Command.c_str()+1);
     116    if (system(Command.c_str()+1) == 1) {
     117          PrintMessage("Error with system() call\n");
     118        }
    117119    return;
    118120  }
     
    620622bool User::ConvertToRange(string String, struct User::Range &R) {
    621623
    622   int N, M;
     624  int N=0, M=0; // Init to avoid compiler warning
    623625
    624626  // Full range
Note: See TracChangeset for help on using the changeset viewer.