Skip to content

Commit

Permalink
remove unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcvetta committed Jul 17, 2014
1 parent cfd2e59 commit a9b2eaf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ func (db *Database) CreateIndex(label, property string) (*Index, error) {
switch resp.Status() {
case 200:
return &result, nil // Success
// Will Neo4j ever return 404 here, or has this been entirely replaced by 405?
case 404:
return nil, NotFound
case 405:
return nil, NotAllowed
}
Expand Down

0 comments on commit a9b2eaf

Please sign in to comment.