defensive-coding-guide/defensive-coding/bo/C/snippets/Arithmetic-add.po

36 lines
849 B
Text

# AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: Defensive Coding Guide\n"
"POT-Creation-Date: 2013-03-12T03:19:44\n"
"PO-Revision-Date: 2013-03-19 15:30+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: Tibetan <trans-bo@lists.fedoraproject.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: bo\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. Tag: programlisting
#, no-c-format
msgid ""
"\n"
"void report_overflow(void);\n"
"\n"
"int\n"
"add(int a, int b)\n"
"{\n"
" int result = a + b;\n"
" if (a &lt; 0 || b &lt; 0) {\n"
" return -1;\n"
" }\n"
" // The compiler can optimize away the following if statement.\n"
" if (result &lt; 0) {\n"
" report_overflow();\n"
" }\n"
" return result;\n"
"}\n"
msgstr ""