Changeset 1061 for trunk/bin


Ignore:
Timestamp:
Jun 2, 2010, 2:43:19 PM (11 years ago)
Author:
Peter Johansson
Message:

removing useless code - program_name() returns a string not a string&

Location:
trunk/bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/Parameter.cc

    r1060 r1061  
    180180  void Parameter::init(void)
    181181  {
    182     // don't use argv[0] because user may rename the binary
    183     cmd_.program_name() = PACKAGE_NAME;
    184182    config_file_.print_arg("=FILE");
    185183    root_.print_arg("=ROOT");
  • trunk/bin/svndigestParameter.cc

    r1060 r1061  
    135135  void svndigestParameter::init2(void)
    136136  {
    137     // don't use argv[0] because user may rename the binary
    138     cmd_.program_name() = "svndigest";
    139137    anchor_format_.print_arg("=FMT");
    140138    format_.print_arg("=FMT");
Note: See TracChangeset for help on using the changeset viewer.