Bug Summary

File:libs/opus-1.1-p2/conftest.c
Location:line 45, column 3
Description:Value stored to 'pcpcc' is never read

Annotated Source Code

1/* confdefs.h */
2#define PACKAGE_NAME"opus" "opus"
3#define PACKAGE_TARNAME"opus" "opus"
4#define PACKAGE_VERSION"1.1" "1.1"
5#define PACKAGE_STRING"opus 1.1" "opus 1.1"
6#define PACKAGE_BUGREPORT"opus@xiph.org" "opus@xiph.org"
7#define PACKAGE_URL"" ""
8#define STDC_HEADERS1 1
9#define HAVE_SYS_TYPES_H1 1
10#define HAVE_SYS_STAT_H1 1
11#define HAVE_STDLIB_H1 1
12#define HAVE_STRING_H1 1
13#define HAVE_MEMORY_H1 1
14#define HAVE_STRINGS_H1 1
15#define HAVE_INTTYPES_H1 1
16#define HAVE_STDINT_H1 1
17#define HAVE_UNISTD_H1 1
18#define HAVE_DLFCN_H1 1
19#define LT_OBJDIR".libs/" ".libs/"
20/* end confdefs.h. */
21
22int
23main ()
24{
25
26#ifndef __cplusplus
27 /* Ultrix mips cc rejects this sort of thing. */
28 typedef int charset[2];
29 const charset cs = { 0, 0 };
30 /* SunOS 4.1.1 cc rejects this. */
31 char const *const *pcpcc;
32 char **ppc;
33 /* NEC SVR4.0.2 mips cc rejects this. */
34 struct point {int x, y;};
35 static struct point const zero = {0,0};
36 /* AIX XL C 1.02.0.0 rejects this.
37 It does not let you subtract one const X* pointer from another in
38 an arm of an if-expression whose if-part is not a constant
39 expression */
40 const char *g = "string";
41 pcpcc = &g + (g ? g-g : 0);
42 /* HPUX 7.0 cc rejects these. */
43 ++pcpcc;
44 ppc = (char**) pcpcc;
45 pcpcc = (char const *const *) ppc;
Value stored to 'pcpcc' is never read
46 { /* SCO 3.2v4 cc rejects this sort of thing. */
47 char tx;
48 char *t = &tx;
49 char const *s = 0 ? (char *) 0 : (char const *) 0;
50
51 *t++ = 0;
52 if (s) return 0;
53 }
54 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
55 int x[] = {25, 17};
56 const int *foo = &x[0];
57 ++foo;
58 }
59 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
60 typedef const int *iptr;
61 iptr p = 0;
62 ++p;
63 }
64 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
65 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
66 struct s { int j; const int *ap[3]; } bx;
67 struct s *b = &bx; b->j = 5;
68 }
69 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
70 const int foo = 10;
71 if (!foo) return 0;
72 }
73 return !cs[0] && !zero.x;
74#endif
75
76 ;
77 return 0;
78}