Merge pull request #73 from mihaip/upstream-scsi-name

Fix uninitialized value read in the ScsiHardDisk constructor
This commit is contained in:
dingusdev 2023-12-10 10:58:25 -07:00 committed by GitHub
commit c41f5355fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
using namespace std;
ScsiHardDisk::ScsiHardDisk(std::string, int my_id) : ScsiDevice(name, my_id) {
ScsiHardDisk::ScsiHardDisk(std::string name, int my_id) : ScsiDevice(name, my_id) {
}
void ScsiHardDisk::insert_image(std::string filename) {