10000 Fix some compiler warnings · matplotlib/matplotlib@2a83c9f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2a83c9f

Browse files
committed
Fix some compiler warnings
1 parent 5a4faa2 commit 2a83c9f

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

extern/qhull/global.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1843,7 +1843,6 @@ void qh_initqhull_start2(FILE *infile, FILE *outfile, FILE *errfile) {
18431843
time_t timedata;
18441844
int seed;
18451845

1846-
qh_CPUclock; /* start the clock(for qh_clock). One-shot. */
18471846
#if qh_QHpointer
18481847
memset((char *)qh_qh, 0, sizeof(qhT)); /* every field is 0, FALSE, NULL */
18491848
#else

lib/matplotlib/tri/_tri_wrapper.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,7 @@ extern "C" {
480480

481481
struct module_state
482482
{
483-
/* The Sun compiler can't handle empty structs */
484-
#if defined(__SUNPRO_C) || defined(_MSC_VER)
485483
int _dummy;
486-
#endif
487484
};
488485

489486
#if PY3K

src/_contour_wrapper.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,7 @@ extern "C" {
140140

141141
struct module_state
142142
{
143-
/* The Sun compiler can't handle empty structs */
144-
#if defined(__SUNPRO_C) || defined(_MSC_VER)
145143
int _dummy;
146-
#endif
147144
};
148145

149146
#if PY3K

0 commit comments

Comments
 (0)
0