summaryrefslogtreecommitdiff
path: root/src/analysis/db/items/comment.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/db/items/comment.c')
-rw-r--r--src/analysis/db/items/comment.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/analysis/db/items/comment.c b/src/analysis/db/items/comment.c
index 331ff2d..22ae46f 100644
--- a/src/analysis/db/items/comment.c
+++ b/src/analysis/db/items/comment.c
@@ -102,7 +102,7 @@ static bool g_db_comment_unpack(GDbComment *, packed_buffer *);
static bool g_db_comment_pack(GDbComment *, packed_buffer *);
/* Construit la description humaine d'un commentaire. */
-static void g_db_comment_build_label(GDbComment *);
+static char *g_db_comment_build_label(GDbComment *);
/* Exécute l'impression de commentaire dans du code de binaire. */
static bool g_db_comment_run(GDbComment *, GLoadedBinary *, bool);
@@ -581,14 +581,15 @@ static bool g_db_comment_pack(GDbComment *comment, packed_buffer *pbuf)
* *
* Description : Construit la description humaine d'un commentaire. *
* *
-* Retour : - *
+* Retour : Chaîne de caractère correspondante. *
* *
* Remarques : - *
* *
******************************************************************************/
-static void g_db_comment_build_label(GDbComment *comment)
+static char *g_db_comment_build_label(GDbComment *comment)
{
+#if 0
VMPA_BUFFER(loc); /* Indication de position */
size_t count; /* Nombre d'éléments textuels */
@@ -608,6 +609,8 @@ static void g_db_comment_build_label(GDbComment *comment)
else
asprintf(&G_DB_ITEM(comment)->label, _("Enter comment area at %s"), loc);
}
+#endif
+ return NULL;
}