diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-08-13 09:22:14 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-08-13 09:31:06 -0400 |
commit | 97c2f657ad58934671911cd438b6fd33f8db57f4 (patch) | |
tree | f643fa92c4ee208729692a311bbeef9c989d1b56 | |
parent | 3b286de6104fb4a4a0c2d6dfc8910cfc957f51b2 (diff) | |
download | mirror-ponymix-97c2f657ad58934671911cd438b6fd33f8db57f4.tar.gz mirror-ponymix-97c2f657ad58934671911cd438b6fd33f8db57f4.tar.bz2 mirror-ponymix-97c2f657ad58934671911cd438b6fd33f8db57f4.zip |
remove unneeded declaration
-rw-r--r-- | pulsemix.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -743,8 +743,7 @@ int main(int argc, char *argv[]) errx(EXIT_FAILURE, "missing value for action '%s'", argv[optind - 1]); else { /* validate to number */ - int r = xstrtol(argv[optind], &value); - if (r < 0) + if (xstrtol(argv[optind], &value) < 0) errx(EXIT_FAILURE, "invalid number: %s", argv[optind]); } else if (verb == ACTION_SETDEFAULT) { |