aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/analyzer/pr94640.c
blob: 9722a179fcd7c9dbe32bf753d392331136c8fa70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>
  
int debug;

int opencfgfile(const char *cfgfile, FILE **fd)
{
  if (cfgfile[0] != '\0') {

    if ((*fd = fopen(cfgfile, "r")) != NULL) {
      if (debug)
	printf("Config file: --config\n");
    }
    
  }

  return 2;
}