From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay05.ispgateway.de ([80.67.31.100]) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YnXJQ-0006FK-99 for ptxdist@pengutronix.de; Wed, 29 Apr 2015 21:06:24 +0200 From: Bernhard Walle Date: Wed, 29 Apr 2015 21:06:18 +0200 Message-Id: <1430334378-32456-1-git-send-email-bernhard@bwalle.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] ptxd_lib_dgen.awk: Fix warning List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Bernhard Walle QWZ0ZXIgdXBncmFkaW5nIG15IGdhd2sgdG8gNC4xLjIgKHdoaWNoIEFyY2ggTGludXggZGlkIHRv ZGF5KSwgSSBnZXQKdG9ucyBvZiB3YXJuaW5ncyBsaWtlCgpnYXdrOiAvdXNyL2xpYi9wdHhkaXN0 LTIwMTUuMDQuMC9zY3JpcHRzL2xpYi9wdHhkX2xpYl9kZ2VuLmF3azozODY6CihGSUxFTkFNRT0v dG1wL3B0eGRpc3QucDFzZzJNL2RnZW4vcGxhdGZvcm1jb25maWcgRk5SPTIzMykgd2FybmluZzoK Z2Vuc3ViOiB0aGlyZCBhcmd1bWVudCBgJyB0cmVhdGVkIGFzIDEKClRoaXMgcGF0Y2ggZml4ZXMg dGhlIHdhcm5pbmdzLiBBY2NvcmRpbmcgdG8gdGhlIGRvY3VtZW50YXRpb24KaHR0cHM6Ly93d3cu Z251Lm9yZy9zb2Z0d2FyZS9nYXdrL21hbnVhbC9nYXdrLmh0bWwjU3RyaW5nLUZ1bmN0aW9uczoK CnwgZ2Vuc3ViKHJlZ2V4cCwgcmV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