Skip to content

Commit

Permalink
Bugfix: bitforce: Initialise variable to NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Sep 10, 2014
1 parent 9646b5b commit 9f26f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver-bitforce.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ static bool bitforce_detect_one(const char *devpath)
struct cgpu_info *bitforce;
char pdevbuf[0x100];
size_t pdevbuf_len;
char *s;
char *s = NULL;
int procs = 1, parallel = -1;
long maxchipno = 0;
struct bitforce_init_data *initdata;
Expand Down

0 comments on commit 9f26f8b

Please sign in to comment.