Commit e74fb66
Replace memcpy with structure assignment in apply_worker_get_progress
Use direct structure assignment instead of memcpy for copying
SpockApplyProgress. This is more idiomatic, type-safe, and resolves
static analyzer warnings about buffer size validation.
The compiler generates identical code while providing compile-time
type checking and better code clarity.1 parent c231d4a commit e74fb66
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
411 | | - | |
412 | | - | |
| 410 | + | |
413 | 411 | | |
414 | 412 | | |
415 | 413 | | |
| |||
0 commit comments