diff for duplicates of <1471809094.3746.17.camel@perches.com> diff --git a/a/1.txt b/N1/1.txt index f8636c7..9eab7cd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,11 +10,11 @@ On Sun, 2016-08-21 at 21:45 +0200, SF Markus Elfring wrote: > - struct snd_compr_params *params; > - int retval; > - -> if (stream->runtime->state == SNDRV_PCM_STATE_OPEN) { +> if (stream->runtime->state = SNDRV_PCM_STATE_OPEN) { Likely better not reducing variable scope but changing: - if (stream->runtime->state == SNDRV_PCM_STATE_OPEN) + if (stream->runtime->state = SNDRV_PCM_STATE_OPEN) to @@ -22,3 +22,8 @@ to return -EPERM; and unindenting the remainder of the code one level instead. + +-- +To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index 548eab3..ca5413a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\003eac1fe-ff33-1759-9c2a-7914f1c6de45@users.sourceforge.net\0" "From\0Joe Perches <joe@perches.com>\0" "Subject\0Re: [PATCH 2/2] ALSA: compress: Reduce the scope for two variables in snd_compr_set_params()\0" - "Date\0Sun, 21 Aug 2016 12:51:34 -0700\0" + "Date\0Sun, 21 Aug 2016 19:51:34 +0000\0" "To\0SF Markus Elfring <elfring@users.sourceforge.net>" alsa-devel@alsa-project.org Jaroslav Kysela <perex@perex.cz> @@ -26,17 +26,22 @@ "> -\tstruct snd_compr_params *params;\n" "> -\tint retval;\n" "> -\n" - "> \302\240\tif (stream->runtime->state == SNDRV_PCM_STATE_OPEN) {\n" + "> \302\240\tif (stream->runtime->state = SNDRV_PCM_STATE_OPEN) {\n" "\n" "Likely better not reducing variable scope but changing:\n" "\n" - "\302\240\tif (stream->runtime->state == SNDRV_PCM_STATE_OPEN)\n" + "\302\240\tif (stream->runtime->state = SNDRV_PCM_STATE_OPEN)\n" "\n" "to\n" "\n" "\tif (stream->runtime->state != SNDRV_PCM_STATE_OPEN)\n" "\t\treturn -EPERM;\n" "\n" - and unindenting the remainder of the code one level instead. + "and unindenting the remainder of the code one level instead.\n" + "\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe kernel-janitors\" in\n" + "the body of a message to majordomo@vger.kernel.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -51da49a4fe3ad44ca844bf0c3a2676091f12fc9adfa85a3c4b867a3ab88dde29 +1f4fc0a7a0ad7c2788dad193137a911ea4390db4386546b690077ee7602e9fc4
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.