Fixup label defined but not used warning

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2012-11-14 20:09:55 +01:00
parent a1b492aba9
commit 72fd5b523d
1 changed files with 1 additions and 1 deletions

2
sk.c
View File

@ -125,8 +125,8 @@ int sk_get_ts_info(char *name, struct sk_ts_info *sk_info)
sk_info->rx_filters = info.rx_filters; sk_info->rx_filters = info.rx_filters;
return 0; return 0;
#endif
failed: failed:
#endif
/* clear data and ensure it is not marked valid */ /* clear data and ensure it is not marked valid */
memset(sk_info, 0, sizeof(struct sk_ts_info)); memset(sk_info, 0, sizeof(struct sk_ts_info));
return -1; return -1;