diff options
Diffstat (limited to 'qga/vss-win32.c')
-rw-r--r-- | qga/vss-win32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qga/vss-win32.c b/qga/vss-win32.c index e1f539835c..d75d7bbf09 100644 --- a/qga/vss-win32.c +++ b/qga/vss-win32.c @@ -154,6 +154,7 @@ void qga_vss_fsfreeze(int *nr_volume, Error **errp, bool freeze) .errp = errp, }; + g_assert(errp); /* requester.cpp requires it */ func = (QGAVSSRequesterFunc)GetProcAddress(provider_lib, func_name); if (!func) { error_setg_win32(errp, GetLastError(), "failed to load %s from %s", |