diff options
author | Silvan Jegen <s.jegen@gmail.com> | 2015-08-21 20:19:02 +0200 |
---|---|---|
committer | Silvan Jegen <s.jegen@gmail.com> | 2015-08-21 20:19:02 +0200 |
commit | b521ffe4f0bd5d9645a50ebb4e1677b298c8fe97 (patch) | |
tree | 8173fa933d90ed30179ce30b3a73051f1ab85db2 | |
parent | 1fd8119b4a5c723c96d45c0f373377ae3a8ad20f (diff) |
Remove unneeded variable assignment
-rw-r--r-- | gwic.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -32,8 +32,7 @@ func printWithContext(all []string, ind, ctxlen int) { slice = append(slice, all[ind+1:ind+ctxlen]...) } - fstr := strings.Join(slice, "\t") - fmt.Fprintf(tw, "%s\n", fstr) + fmt.Fprintf(tw, "%s\n", strings.Join(slice, "\t")) } var tw *tabwriter.Writer |