Browse Source

Remove unused variable

Alois Mahdal 8 years ago
parent
commit
1364fa1496
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/include/release.sh

+ 1
- 2
src/include/release.sh View File

111
 
111
 
112
 _vbump() {
112
 _vbump() {
113
     local rlevel="$1"
113
     local rlevel="$1"
114
-    local lastver   # current from mkit.ini
115
     local nextver   # after the bump
114
     local nextver   # after the bump
116
     _relck git_present
115
     _relck git_present
117
     _relck at_relsrc
116
     _relck at_relsrc
118
     _relck not_dirty
117
     _relck not_dirty
119
     nextver=$(ini 1value project:version | _bump_version "$rlevel")
118
     nextver=$(ini 1value project:version | _bump_version "$rlevel")
120
-    debug_var lastver nextver
119
+    debug_var nextver
121
     $MKIT_DRY && return
120
     $MKIT_DRY && return
122
     update_version "$nextver" mkit.ini \
121
     update_version "$nextver" mkit.ini \
123
       || die "failed to update version in mkit.ini"
122
       || die "failed to update version in mkit.ini"