[PR #101] [CLOSED] Update console.c #185

Open
opened 2026-01-31 21:30:10 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/101
Author: @KoalaYan
Created: 11/13/2020
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -2 deletions)

View changed files

📝 ui/console.c (+1 -2)

📄 Description

In function qemu_fifo_write(), the while-loop will never execute the second time, and we may change it to if-sentence logically. Therefore, we don't have to execute "len -= 1".


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qemu/qemu/pull/101 **Author:** [@KoalaYan](https://github.com/KoalaYan) **Created:** 11/13/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`a73d401`](https://github.com/qemu/qemu/commit/a73d401b4f7c8b5d396694a9180972697f1150a3) Update console.c ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `ui/console.c` (+1 -2) </details> ### 📄 Description In function qemu_fifo_write(), the while-loop will never execute the second time, and we may change it to if-sentence logically. Therefore, we don't have to execute "len -= 1". --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 21:30:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#185