Avoid warning.

This commit is contained in:
Richard Kimberly Heck 2018-04-21 21:41:47 -04:00
parent 0fc50a2637
commit 97021ee369

View File

@ -3645,6 +3645,7 @@ bool GuiView::GuiViewPrivate::asyncBufferProcessing(
|| status == Buffer::PreviewSuccess);
}
#else
(void) allow_async;
Buffer::ExportStatus status;
if (syncFunc) {
status = (used_buffer->*syncFunc)(format, true);