Changeset 0d2c358


Ignore:
Timestamp:
Aug 5, 2017, 11:21:53 PM (7 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Branches:
master
Children:
4bbe53a
Parents:
958752c
git-author:
Jason Gross <jgross@mit.edu> (08/05/17 22:31:00)
git-committer:
Jason Gross <jasongross9@gmail.com> (08/05/17 23:21:53)
Message:
Remove a useless 0 + perl cast
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/DeferredLogging.pm

    r958752c r0d2c358  
    4343            set_fromstring => sub {
    4444                die "Expected integer" unless $_[0] =~ /^-?[0-9]+$/;
    45                 $flush_logs_interval = 0 + $_[0];
     45                $flush_logs_interval = $_[0];
    4646                $flush_logs_timer->stop if defined $flush_logs_timer;
    4747                undef $flush_logs_timer;
Note: See TracChangeset for help on using the changeset viewer.