diff options
author | Daiyuu Nobori <da.git@softether.co.jp> | 2016-11-27 11:25:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-27 11:25:03 +0300 |
commit | 5cae447c79119509bdf2ccdd64bee839bf2d3013 (patch) | |
tree | 9381127b64a4ad86ef6df4861a9c63f7437ff3d7 /src/Cedar/UdpAccel.c | |
parent | 36591082c457f0c8c1f8813f0fd5716ec7b51776 (diff) | |
parent | d1ea47eb66e87a25d821a81af780ca30c0963929 (diff) |
Merge pull request #229 from chipitsine/master
cppcheck issues
Diffstat (limited to 'src/Cedar/UdpAccel.c')
-rw-r--r-- | src/Cedar/UdpAccel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cedar/UdpAccel.c b/src/Cedar/UdpAccel.c index 8b5b595f..58d1a621 100644 --- a/src/Cedar/UdpAccel.c +++ b/src/Cedar/UdpAccel.c @@ -116,7 +116,6 @@ // Polling process
void UdpAccelPoll(UDP_ACCEL *a)
{
- UCHAR *tmp = a->TmpBuf;
IP nat_t_ip;
UINT num_ignore_errors = 0;
// Validate arguments
@@ -124,6 +123,7 @@ void UdpAccelPoll(UDP_ACCEL *a) {
return;
}
+ UCHAR *tmp = a->TmpBuf;
Lock(a->NatT_Lock);
{
|