Skip to content

Commit

Permalink
[VCM] remove redundant null check
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyoyuppe committed Apr 13, 2021
1 parent 696b6d7 commit 0e68101
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,6 @@ HRESULT VideoCaptureProxyPin::Get(
*pcbReturned = sizeof(GUID);
}

if (!pPropData)
{
LOG("VideoCaptureProxyPin::Get SUCCEESS !pPropData");
return S_OK;
}

if (cbPropData < sizeof(GUID))
{
LOG("VideoCaptureProxyPin::Get FAILED cbPropData");
Expand Down

1 comment on commit 0e68101

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misspellings found, please review:

  • SUCCEESS
To accept these changes, run the following commands from this repository on this branch
pushd $(git rev-parse --show-toplevel)
perl -e '
my $new_expect_file=".github/actions/spell-check/expect.txt";
use File::Path qw(make_path);
make_path ".github/actions/spell-check";
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"SUCCEESS "');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a) cmp lc($b)} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;'
popd

Please sign in to comment.