Alex Henrie : qcap: Make constants 'msg' and 'VFWIndex' static.
Alexandre Julliard
julliard at winehq.org
Tue Dec 4 16:33:55 CST 2018
Module: wine
Branch: master
Commit: 6a1a2e8288be541f906a4b718cca8cf771cbc291
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6a1a2e8288be541f906a4b718cca8cf771cbc291
Author: Alex Henrie <alexhenrie24 at gmail.com>
Date: Mon Dec 3 21:42:58 2018 -0700
qcap: Make constants 'msg' and 'VFWIndex' static.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/qcap/v4l.c | 2 +-
dlls/qcap/vfwcapture.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c
index b4b7b96..80b0fe8 100644
--- a/dlls/qcap/v4l.c
+++ b/dlls/qcap/v4l.c
@@ -915,7 +915,7 @@ error:
Capture * qcap_driver_init( IPin *pOut, USHORT card )
{
- const char msg[] =
+ static const char msg[] =
"The v4l headers were not available at compile time,\n"
"so video capture support is not available.\n";
MESSAGE(msg);
diff --git a/dlls/qcap/vfwcapture.c b/dlls/qcap/vfwcapture.c
index ca804fe..6297a80 100644
--- a/dlls/qcap/vfwcapture.c
+++ b/dlls/qcap/vfwcapture.c
@@ -524,10 +524,10 @@ static HRESULT WINAPI
PPB_Load( IPersistPropertyBag * iface, IPropertyBag *pPropBag,
IErrorLog *pErrorLog )
{
+ static const OLECHAR VFWIndex[] = {'V','F','W','I','n','d','e','x',0};
VfwCapture *This = impl_from_IPersistPropertyBag(iface);
HRESULT hr;
VARIANT var;
- const OLECHAR VFWIndex[] = {'V','F','W','I','n','d','e','x',0};
TRACE("%p/%p-> (%p, %p)\n", iface, This, pPropBag, pErrorLog);
More information about the wine-cvs
mailing list