Show a patch.

GET /api/1.1/patches/2225/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2225,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/2225/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/2225/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20191025234004.2754-1-paul.elder@ideasonboard.com>",
    "date": "2019-10-25T23:40:04",
    "name": "[libcamera-devel] cam: capture: remove unused local variable",
    "commit_ref": "b1b0a482787cdac6f4fc88b25dd9bcce69f21de3",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "52ee39aa6b587be5becc4f2f251e477f92eb2c1c",
    "submitter": {
        "id": 17,
        "url": "https://patchwork.libcamera.org/api/1.1/people/17/?format=api",
        "name": "Paul Elder",
        "email": "paul.elder@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/2225/mbox/",
    "series": [
        {
            "id": 552,
            "url": "https://patchwork.libcamera.org/api/1.1/series/552/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=552",
            "date": "2019-10-25T23:40:04",
            "name": "[libcamera-devel] cam: capture: remove unused local variable",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/552/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/2225/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/2225/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<paul.elder@ideasonboard.com>",
        "Received": [
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8414360C0F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 26 Oct 2019 01:40:20 +0200 (CEST)",
            "from neptunite.amanokami.net (143.121.2.93.rev.sfr.net\n\t[93.2.121.143])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id EC58D43E;\n\tSat, 26 Oct 2019 01:40:19 +0200 (CEST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1572046820;\n\tbh=Ls/J/UhIwqf+jBNXZQIa6980ZGtsUVxxIEk4Y+pXlU8=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=qbvhQHz3XO+iWMP7j3G5PdWgzQOwVR/MBDHsJs8yB6pPcRAkof1uMvph+535NwJTE\n\tVZ1X2m4R8R3CA9UxWYKacu6szG/6w61w6mn/b5O5MQ/GbzGebohZ9/TFobYjqf1KHu\n\tklWTbNFwJswQfiJ5mrDXSmsggAoee4uQ0z3OBl0k=",
        "From": "Paul Elder <paul.elder@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Sat, 26 Oct 2019 01:40:04 +0200",
        "Message-Id": "<20191025234004.2754-1-paul.elder@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.23.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] cam: capture: remove unused local variable",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "X-List-Received-Date": "Fri, 25 Oct 2019 23:40:20 -0000"
    },
    "content": "Remove unused local map variable.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\n---\n src/cam/capture.cpp | 1 -\n 1 file changed, 1 deletion(-)",
    "diff": "diff --git a/src/cam/capture.cpp b/src/cam/capture.cpp\nindex 8a939c62..fa3922ba 100644\n--- a/src/cam/capture.cpp\n+++ b/src/cam/capture.cpp\n@@ -91,7 +91,6 @@ int Capture::capture(EventLoop *loop)\n \t\t\treturn -ENOMEM;\n \t\t}\n \n-\t\tstd::map<Stream *, Buffer *> map;\n \t\tfor (StreamConfiguration &cfg : *config_) {\n \t\t\tStream *stream = cfg.stream();\n \t\t\tstd::unique_ptr<Buffer> buffer = stream->createBuffer(i);\n",
    "prefixes": [
        "libcamera-devel"
    ]
}