Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Albert Gräf
Gem
Commits
772d51c9
Commit
772d51c9
authored
Mar 28, 2019
by
IOhannes m zmölnig
Browse files
use static vars to indicate "firsttime"
parent
1cf61955
Changes
1
Hide whitespace changes
Inline
Side-by-side
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