int main(int argc, char** argv) {
 17     if (!(argc == 2 || argc == 3)) {
 18         fprintf(stderr, "USAGE: count_large size [permissions]\n");
 19         return 1;
 20     }
 21 
 22     int size;
 23     char required[11];
 24     int *count;
 25 
 26     // TODO: Process command line arguments.
 27     if (argc == 2){
 28             size = *argv[1];
 29     } else {
 30             size = *argv[1];
 31             required[11] = *argv[2];
 32     }
 33 
 34     // Process arguments passed from pipe
 35     char permission[11];
 36     int file_size;
 37 
 38     while (scanf("%10s %*d %*s %*s %d %*s %*d %*s %*s", permission, &file_size)!= EOF){
 39 //          printf("%d", file_size);
 40 
 41 
 42     if (file_size > size){
 43         if (argc == 2){
 44                 *count = *count + 1;
 45         }
 46         // TODO: Call check_permissions as part of your solution to count the files to
 47         // compute and print the correct value.
 48         else if (argc == 3){
 49                 int a = check_permissions(permission, required);
 50                 printf("%d\n", a);
 51                 if (a==1){
 52                         *count = *count + 1;
 53                 }
 54         }
 55     }
 56     }
 57     printf("%s", permission);
 58     printf("%d", *count);
 59     return 0;
 60 }

warning: ‘count’ may be used uninitialized in this function