Marius Wachtler 2b95ef4e3b
Fix some errors uncovered via compiler warnings (#7954)
* fix: tray_exist_bits != tray_exist_bits comparison

* fix: title == GetTitle() == title comparison

* fix: possibly dangling reference to a temporary
```
OrcaSlicer/src/libslic3r/calib.cpp:456:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  456 |     const auto &w         = bed_ext.size().x();
OrcaSlicer/src/libslic3r/calib.cpp:456:45: note: the temporary was destroyed at the end of the full expression ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1, 2>, 1>*)(& Slic3r::BoundingBoxBase<PointClass>::size() const [with PointClass = Eigen::Matrix<double, 2, 1, 2>]()))->Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1, 2>, 1>::x()’
  456 |     const auto &w         = bed_ext.size().x();
```

* fix: mixup of | and ||
in this case I think it actually does not change the semantics it just means that both comparison have to be evaluated.

* fix: multi-character character constants need "

OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp:392: warning: multi-character character constant [-Wmultichar]
  392 |     if (auto n = tunnel.find_first_of('/_'); n != std::string::npos)
OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp: In member function ‘void Slic3r::GUI::MediaPlayCtrl::Stop(const wxString&)’:
OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp:392: warning: overflow in conversion from ‘int’ to ‘char’ changes value from ‘12127’ to ‘95’ [-Woverflow]

* fix: missing paranthesis - skips null check

* NFC: Remove this check it can never be false

* NFC: fix warning: statement has no effect
2025-01-08 13:06:39 +08:00
..
2024-12-22 20:52:02 +08:00
2024-10-05 21:53:16 +03:00
2025-01-08 11:35:08 +08:00
2025-01-06 09:07:58 +08:00
2023-08-08 19:08:13 +08:00
2024-01-26 20:18:10 +08:00
2024-08-26 13:48:51 +03:00
2024-08-26 13:48:51 +03:00
2023-12-01 10:42:45 +00:00
2024-08-22 10:13:45 +03:00
2024-08-22 10:13:45 +03:00
2024-01-26 20:18:10 +08:00
2023-12-01 10:42:45 +00:00
2022-07-15 23:42:08 +08:00
2022-07-15 23:42:08 +08:00
2022-07-15 23:42:08 +08:00
2022-07-15 23:42:08 +08:00
2024-06-03 21:30:38 +08:00
2023-04-17 15:39:02 +08:00
2023-08-08 19:08:13 +08:00
2024-06-29 17:33:22 +08:00
2024-01-26 20:18:10 +08:00
2023-08-08 19:08:13 +08:00
2022-07-15 23:42:08 +08:00
2024-11-23 23:23:04 +08:00
2023-07-07 17:25:51 +08:00
2022-07-15 23:42:08 +08:00
2023-12-01 10:42:45 +00:00
2024-05-12 23:35:41 +08:00
2024-07-13 23:29:16 +08:00
2024-08-12 00:00:20 +08:00
2024-01-26 20:18:10 +08:00
2022-07-15 23:42:08 +08:00
2024-05-19 21:22:14 +08:00
2024-01-26 20:18:10 +08:00
2024-05-25 09:11:19 +08:00
2024-07-23 00:12:54 +08:00
2025-01-08 11:35:08 +08:00
2024-07-23 18:18:27 +08:00
2022-07-15 23:42:08 +08:00
2023-11-04 11:41:03 +08:00
2022-07-15 23:42:08 +08:00
2023-11-11 16:27:44 +08:00
2023-08-08 19:08:13 +08:00
2023-08-08 19:08:13 +08:00
2022-07-15 23:42:08 +08:00
2023-08-20 20:02:54 +08:00
2024-09-05 09:45:59 +08:00
2022-07-15 23:42:08 +08:00
2022-07-15 23:42:08 +08:00