removing duplicate error check

pull/1500/head
Cory LaNou 2015-02-03 15:08:47 -07:00
parent d3c98de563
commit 8dd52a1ea0
1 changed files with 0 additions and 5 deletions

View File

@ -207,11 +207,6 @@ func (c *CommandLine) executeQuery(query string) {
fmt.Printf("ERR: %s\n", err)
return
}
if err != nil {
fmt.Printf("ERR: %s\n", err)
return
}
c.FormatResults(results, os.Stdout)
if results.Error() != nil && c.Database == "" {
fmt.Println("Warning: It is possible this error is due to not setting a database.")