qcap: Make constants 'msg' and 'VFWIndex' static.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2018-12-03 21:42:58 -07:00 committed by Alexandre Julliard
parent a4adc1d7a8
commit 6a1a2e8288
2 changed files with 2 additions and 2 deletions

View File

@ -915,7 +915,7 @@ error:
Capture * qcap_driver_init( IPin *pOut, USHORT card ) 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" "The v4l headers were not available at compile time,\n"
"so video capture support is not available.\n"; "so video capture support is not available.\n";
MESSAGE(msg); MESSAGE(msg);

View File

@ -524,10 +524,10 @@ static HRESULT WINAPI
PPB_Load( IPersistPropertyBag * iface, IPropertyBag *pPropBag, PPB_Load( IPersistPropertyBag * iface, IPropertyBag *pPropBag,
IErrorLog *pErrorLog ) IErrorLog *pErrorLog )
{ {
static const OLECHAR VFWIndex[] = {'V','F','W','I','n','d','e','x',0};
VfwCapture *This = impl_from_IPersistPropertyBag(iface); VfwCapture *This = impl_from_IPersistPropertyBag(iface);
HRESULT hr; HRESULT hr;
VARIANT var; VARIANT var;
const OLECHAR VFWIndex[] = {'V','F','W','I','n','d','e','x',0};
TRACE("%p/%p-> (%p, %p)\n", iface, This, pPropBag, pErrorLog); TRACE("%p/%p-> (%p, %p)\n", iface, This, pPropBag, pErrorLog);