Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Albert Gräf
Gem
Commits
772d51c9
Commit
772d51c9
authored
Mar 28, 2019
by
IOhannes m zmölnig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use static vars to indicate "firsttime"
parent
1cf61955
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
plugins/imageTIFF/imageTIFF.cpp
plugins/imageTIFF/imageTIFF.cpp
+1
-1
No files found.
plugins/imageTIFF/imageTIFF.cpp
View file @
772d51c9
...
...
@@ -83,7 +83,7 @@ static void imageTIFF_warnhandler(const char*module, const char*fmt,
imageTIFF
::
imageTIFF
(
void
)
{
bool
firsttime
=
true
;
static
bool
firsttime
=
true
;
if
(
firsttime
)
{
TIFFSetErrorHandler
(
imageTIFF_errorhandler
);
TIFFSetWarningHandler
(
imageTIFF_warnhandler
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment