mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Avoid warning about use of uninitialized variable
This commit is contained in:
parent
008df4d03a
commit
00be9afcea
@ -173,7 +173,7 @@ static void set_clipboard_image(Image* image,
|
||||
|
||||
// Copy image to the native clipboard
|
||||
if (set_system_clipboard) {
|
||||
color_t oldMask;
|
||||
color_t oldMask = 0;
|
||||
if (image) {
|
||||
oldMask = image->maskColor();
|
||||
if (!image_source_is_transparent)
|
||||
|
Loading…
Reference in New Issue
Block a user