Commit c4076a1
committed
Bug#38439895 Warnings when compiling server in release mode (NDB)
Refactor computeHash function including removing false warning on OEL8 with GCC 14.2.1. storage/ndb/src/ndbapi/Ndb.cpp: In static member function 'static int Ndb::computeHash(Uint32*, const NdbDictionary::Table*, const Key_part_ptr*, void*, Uint32)': storage/ndb/src/ndbapi/Ndb.cpp:489:11: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 489 | md5_hash(values, (const char *)buf, len); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Change-Id: I39b1b1bdc70ce7487e07d95b7eecb2be963481b11 parent fb4f896 commit c4076a1
1 file changed
+7
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
452 | 445 | | |
453 | 446 | | |
454 | 447 | | |
| |||
486 | 479 | | |
487 | 480 | | |
488 | 481 | | |
| 482 | + | |
| 483 | + | |
489 | 484 | | |
490 | 485 | | |
491 | 486 | | |
| |||
0 commit comments