see about dealing with some compiler errors

This commit is contained in:
rupa committed 2014-03-26 11:45:32 -04:00
1 parent 7ca563d294
commit fac7b34e93
1 file changed
+4 -3
+4 -3
View File
@@ -8,9 +8,7 @@
#include <time.h>
#include <unistd.h>
int main(int __unused argc, char **argv) {
if (argv[1] == NULL) return EXIT_FAILURE;
int main(int argc, char **argv) {
static const float MULTIPLIER = 0.99;
static const int RANK_SUM_MAX = 6000;
@@ -31,6 +29,9 @@ int main(int __unused argc, char **argv) {
int found = 0;
float rank_sum = 0;
(void)argc;
if (argv[1] == NULL) return EXIT_FAILURE;
/* Don't track $HOME */
if (strcmp(argv[1], getenv("HOME")) == 0) return EXIT_SUCCESS;