Skip to content

Commit

Permalink
[minor] Remove unneeded assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Mar 28, 2013
1 parent 969e022 commit fae9adb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/env.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ char* env_get(char** env, char* name) {
unsigned int name_length, value_length;

name_length = strlen(name);
index = env__find(env, name);

if ((index = env__find(env, name)) == -1)
return NULL;
Expand Down

0 comments on commit fae9adb

Please sign in to comment.