Commit c1e0f24
committed
Fix PVS-Studio warning №V802
V802 On 64-bit platform, structure size can be reduced from 48 to 40
bytes by rearranging the fields according to their sizes in decreasing
order.
Also replace one LPCSTR to pcstr1 parent 4fa8d8f commit c1e0f24
2 files changed
+15
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
61 | 62 | | |
62 | | - | |
63 | | - | |
| 63 | + | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
379 | | - | |
380 | 378 | | |
381 | | - | |
382 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
383 | 388 | | |
384 | 389 | | |
385 | 390 | | |
| |||
392 | 397 | | |
393 | 398 | | |
394 | 399 | | |
| 400 | + | |
395 | 401 | | |
396 | 402 | | |
397 | 403 | | |
| 404 | + | |
398 | 405 | | |
399 | 406 | | |
400 | 407 | | |
401 | 408 | | |
402 | 409 | | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | 410 | | |
407 | 411 | | |
408 | | - | |
409 | | - | |
410 | 412 | | |
411 | 413 | | |
412 | 414 | | |
| |||
0 commit comments