Skip to content

Commit

Permalink
cgen: remove unnecessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Spydr06 committed Oct 5, 2023
1 parent fa0334d commit ccaac00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vlib/v/gen/c/cgen.v
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,7 @@ pub fn (mut g Gen) gen_file() {
}

pub fn (g &Gen) hashes() string {
mut res := c_commit_hash_default.replace('@@@', version.vhash())
return res
return c_commit_hash_default.replace('@@@', version.vhash())
}

pub fn (mut g Gen) init() {
Expand Down

0 comments on commit ccaac00

Please sign in to comment.