As pointed out on current@, we don't want to declare a variable in a scope
that just uses the variable and throws it away. This should fix the subsystem keyword wrt media-type. MFC After: 2 days
This commit is contained in:
parent
7aa5949375
commit
de02eec866
@ -233,7 +233,7 @@ media::do_match(config &c)
|
||||
// to subsystem if none exists.
|
||||
value = c.get_variable("device-name");
|
||||
if (value.length() == 0)
|
||||
string value = c.get_variable("subsystem");
|
||||
value = c.get_variable("subsystem");
|
||||
if (Dflag)
|
||||
fprintf(stderr, "Testing media type of %s against 0x%x\n",
|
||||
value.c_str(), _type);
|
||||
|
Loading…
Reference in New Issue
Block a user